Skip to content

Instantly share code, notes, and snippets.

@msm-code
Created October 21, 2016 09:36
Show Gist options
  • Select an option

  • Save msm-code/ef49da67accdd8f6c124be445f472636 to your computer and use it in GitHub Desktop.

Select an option

Save msm-code/ef49da67accdd8f6c124be445f472636 to your computer and use it in GitHub Desktop.
paper.asm.64ca36263ef4107022aa090a54c67161
push 0x40404040
push 0x02020202
jmp detour
detour:
pop eax ; oversimplification, detour can never spoil registers
pop ebx
add eax, ebx ; or xor, or sub, or add
jmp eax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment