Skip to content

Instantly share code, notes, and snippets.

@k3170makan
Created October 5, 2018 07:09
Show Gist options
  • Save k3170makan/a82a7da428a6aebea694c4e9ec1f5951 to your computer and use it in GitHub Desktop.
Save k3170makan/a82a7da428a6aebea694c4e9ec1f5951 to your computer and use it in GitHub Desktop.
_start program for demonstration purposes
0x0000000000400450 <+0>: xor %ebp,%ebp
0x0000000000400452 <+2>: mov %rdx,%r9
0x0000000000400455 <+5>: pop %rsi
0x0000000000400456 <+6>: mov %rsp,%rdx
0x0000000000400459 <+9>: and $0xfffffffffffffff0,%rsp
0x000000000040045d <+13>: push %rax
0x000000000040045e <+14>: push %rsp
0x000000000040045f <+15>: mov $0x4005e0,%r8
0x0000000000400466 <+22>: mov $0x400570,%rcx
0x000000000040046d <+29>: mov $0x400430,%rdi
0x0000000000400474 <+36>: callq 0x400410 <__libc_start_main@plt>
0x0000000000400479 <+41>: hlt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment