Step Into Labs

Step Into x64 Assembly · Lesson 10 · Windows x64

Structs & Pointers

Field offsets, arrays of structs, walking a linked list and reading a PE header.

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

Missions

  1. Two fields
  2. Rectangle area
  3. Walk a linked list
  4. Read a PE header