Step Into x64 Assembly · Lesson 7 · Memory & the Stack
Debugging Assembly
Registers, flags and the stack, one instruction at a time.
- ~40 minreading and coding
- 4missions
- membersaccess
- x64 Assemblylanguage
Part of Step Into x64 Assembly. The full lesson, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.
In Windows security work you will read far more assembly in a debugger than in source files: you set a breakpoint, step, and watch registers change. This lesson builds that habit on code you can fix.
In this lesson
- A debugger is where assembly comes alive
- The panels
- Reading the flags after cmp
- How a broken stack crashes
- This lesson's program
Missions
- Signed or unsigned?
- One qword too far
- Somebody else's register
- A ret to nowhere