Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) disass main
- Dump of assembler code for function main:
- 0x080483a4 <+0>: push %ebp
- 0x080483a5 <+1>: mov %esp,%ebp
- 0x080483a7 <+3>: sub $0x208,%esp
- 0x080483ad <+9>: cmpl $0x1,0x8(%ebp)
- 0x080483b1 <+13>: jle 0x80483cd <main+41>
- 0x080483b3 <+15>: mov 0xc(%ebp),%eax
- 0x080483b6 <+18>: add $0x4,%eax
- 0x080483b9 <+21>: mov (%eax),%eax
- 0x080483bb <+23>: mov %eax,0x4(%esp)
- 0x080483bf <+27>: lea -0x200(%ebp),%eax
- 0x080483c5 <+33>: mov %eax,(%esp)
- 0x080483c8 <+36>: call 0x80482d4 <strcpy@plt>
- 0x080483cd <+41>: mov $0x0,%eax
- 0x080483d2 <+46>: leave
- 0x080483d3 <+47>: ret
- End of assembler dump.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement