Skip to content

Instantly share code, notes, and snippets.

@samuelcouch
Created November 21, 2014 15:54
Show Gist options
  • Save samuelcouch/a28ea38289d0d1397bee to your computer and use it in GitHub Desktop.
Save samuelcouch/a28ea38289d0d1397bee to your computer and use it in GitHub Desktop.
0x08048f78 <+0>: push %ebp
0x08048f79 <+1>: mov %esp,%ebp
0x08048f7b <+3>: sub $0x38,%esp
0x08048f7e <+6>: movl $0x80bf20c,(%esp)
0x08048f85 <+13>: call 0x804f800 <printf>
0x08048f8a <+18>: lea -0x20(%ebp),%eax
0x08048f8d <+21>: mov %eax,(%esp)
0x08048f90 <+24>: call 0x804fd60 <gets>
0x08048f95 <+29>: lea -0x20(%ebp),%eax
0x08048f98 <+32>: mov %eax,0x4(%esp)
0x08048f9c <+36>: movl $0x80bf220,(%esp)
0x08048fa3 <+43>: call 0x804f800 <printf>
0x08048fa8 <+48>: leave
0x08048fa9 <+49>: ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment