L18: How programs run

Materials

See slides (pdf).

Topics

  • How programs execute, basic geometry of the stack
  • Seeing the result of aslr
  • What does sudo sysctl -w kernel.randomize_va_space=0 do ?
  • Understanding how to compile p1 using gcc
  • Understanding how to use programs like objdump