Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) disas welcome
- Dump of assembler code for function welcome:
- 0x08048609 <+0>: push %ebp
- 0x0804860a <+1>: mov %esp,%ebp
- 0x0804860c <+3>: sub $0x88,%esp
- 0x08048612 <+9>: mov %gs:0x14,%eax
- 0x08048618 <+15>: mov %eax,-0xc(%ebp)
- 0x0804861b <+18>: xor %eax,%eax
- 0x0804861d <+20>: mov $0x80487cb,%eax
- 0x08048622 <+25>: mov %eax,(%esp)
- 0x08048625 <+28>: call 0x8048420 <printf@plt>
- 0x0804862a <+33>: mov $0x80487dd,%eax
- 0x0804862f <+38>: lea -0x70(%ebp),%edx
- 0x08048632 <+41>: mov %edx,0x4(%esp)
- 0x08048636 <+45>: mov %eax,(%esp)
- 0x08048639 <+48>: call 0x80484a0 <__isoc99_scanf@plt>
- 0x0804863e <+53>: mov $0x80487e3,%eax
- 0x08048643 <+58>: lea -0x70(%ebp),%edx
- 0x08048646 <+61>: mov %edx,0x4(%esp)
- 0x0804864a <+65>: mov %eax,(%esp)
- 0x0804864d <+68>: call 0x8048420 <printf@plt>
- 0x08048652 <+73>: mov -0xc(%ebp),%eax
- 0x08048655 <+76>: xor %gs:0x14,%eax
- 0x0804865c <+83>: je 0x8048663 <welcome+90>
- 0x0804865e <+85>: call 0x8048440 <__stack_chk_fail@plt>
- 0x08048663 <+90>: leave
- 0x08048664 <+91>: ret
- End of assembler dump.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement