indirect-jump.asm 127 B

123456789101112
  1. global _start
  2. section .data
  3. %include "header.inc"
  4. mov eax, foo
  5. jmp eax
  6. foo:
  7. xor eax, eax
  8. %include "footer.inc"