Activity 20: Let's Talk Glitches
Games from the 1990s were written in assembly language, with nobody checking their memory but the programmers. Today we look at what happens when a game follows a pointer somewhere it shouldn't.
In class
- Watch The MissingNo Glitch (about 6 minutes)
- On Gradescope, answer:
- Which kinds of bugs from today's lecture led to this behavior?
- How would Rust have prevented them?
- Just for fun: Mario creating a glitch level out of memory
Want more?
- Why MissingNo looks the way it does: integer overflow, signed and unsigned integers, and buffer overflows
- The Mew glitch