Step Into x64 Assembly · Lesson 10 · Windows x64
Structs & Pointers
Field offsets, arrays of structs, walking a linked list and reading a PE header.
- ~35 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 assembly there are no structs, only a base address plus an offset. You compute the offsets from the layout, exactly as the C compiler does:
In this lesson
- Structs are offsets
- Pointers to pointers
- A real structure: the PE header
Missions
- Two fields
- Rectangle area
- Walk a linked list
- Read a PE header