Wun Code
RE

Program Analysis

Read assembly, calling conventions and control flow, then build a disassembler and an emulator for a tiny machine, patch its bytes and check their integrity.

Start the trackFree, no sign-up needed

What you'll learn

  • Reading assemblyTrace the registers line by line
  • Calling conventions and the stack frameWhere arguments go in and the result comes out
  • Control flow in assemblyCompare and jump instead of if and loops
  • A tiny machine: decodingInstructions of different lengths
  • The disassemblerFrom numbers to readable names
  • The emulatorRun bytecode one step at a time
  • Patching bytesOne byte changes the behavior
  • ChecksumsA number that exposes damaged bytes

Track contents

8 lessons, 2 hours in total
  1. 1Reading assemblyRETrace the registers line by line
  2. 2Calling conventions and the stack frameREWhere arguments go in and the result comes out
  3. 3Control flow in assemblyRECompare and jump instead of if and loops
  4. 4A tiny machine: decodingREInstructions of different lengths
  5. 5The disassemblerREFrom numbers to readable names
  6. 6The emulatorRERun bytecode one step at a time
  7. 7Patching bytesREOne byte changes the behavior
  8. 8ChecksumsREA number that exposes damaged bytes