Step Into Labs

Step Into x64 Assembly · Lesson 12 · Reading Real Code

Capstone: a Byte Toolkit

Strings, in-place edits, a checksum, a hex dump with printf and a callback, all in assembly.

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.

Five functions that use everything from this course: loops and addressing, arithmetic, callee-saved registers, calls with a correct frame, and a function pointer. Write each one, test it, and use the Debugger whenever an answer is off.

In this lesson

Missions

  1. my_strlen
  2. Reverse in place
  3. Adler-32
  4. A hex dump with printf
  5. Call through a pointer