Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dump of assembler code for function main:
- 0x080489db <+0>: lea 0x4(%esp),%ecx
- 0x080489df <+4>: and $0xfffffff0,%esp
- 0x080489e2 <+7>: pushl -0x4(%ecx)
- 0x080489e5 <+10>: push %ebp
- 0x080489e6 <+11>: mov %esp,%ebp
- 0x080489e8 <+13>: push %ebx
- 0x080489e9 <+14>: push %ecx
- 0x080489ea <+15>: mov (%ecx),%eax
- 0x080489ec <+17>: mov 0x4(%ecx),%ebx
- 0x080489ef <+20>: cmp $0x1,%eax
- 0x080489f2 <+23>: jne 0x8048a00 <main+37>
- 0x080489f4 <+25>: mov 0x804d7e0,%eax
- 0x080489f9 <+30>: mov %eax,0x804d7f0
- 0x080489fe <+35>: jmp 0x8048a5b <main+128>
- 0x08048a00 <+37>: cmp $0x2,%eax
- 0x08048a03 <+40>: jne 0x8048a3e <main+99>
- 0x08048a05 <+42>: sub $0x8,%esp
- 0x08048a08 <+45>: push $0x8049fe0
- 0x08048a0d <+50>: pushl 0x4(%ebx)
- 0x08048a10 <+53>: call 0x8048820 <fopen@plt>
- 0x08048a15 <+58>: mov %eax,0x804d7f0
- 0x08048a1a <+63>: add $0x10,%esp
- 0x08048a1d <+66>: test %eax,%eax
- 0x08048a1f <+68>: jne 0x8048a5b <main+128>
- 0x08048a21 <+70>: pushl 0x4(%ebx)
- 0x08048a24 <+73>: pushl (%ebx)
- 0x08048a26 <+75>: push $0x8049fe2
- 0x08048a2b <+80>: push $0x1
- 0x08048a2d <+82>: call 0x8048840 <__printf_chk@plt>
- 0x08048a32 <+87>: movl $0x8,(%esp)
- 0x08048a39 <+94>: call 0x80487e0 <exit@plt>
- 0x08048a3e <+99>: sub $0x4,%esp
- 0x08048a41 <+102>: pushl (%ebx)
- 0x08048a43 <+104>: push $0x8049fff
- 0x08048a48 <+109>: push $0x1
- 0x08048a4a <+111>: call 0x8048840 <__printf_chk@plt>
- 0x08048a4f <+116>: movl $0x8,(%esp)
- 0x08048a56 <+123>: call 0x80487e0 <exit@plt>
- 0x08048a5b <+128>: call 0x8049031 <initialize_bomb>
- 0x08048a60 <+133>: sub $0xc,%esp
- 0x08048a63 <+136>: push $0x804a01c
- 0x08048a68 <+141>: call 0x80487c0 <puts@plt>
- 0x08048a6d <+146>: movl $0x804a05c,(%esp)
- 0x08048a74 <+153>: call 0x80487c0 <puts@plt>
- 0x08048a79 <+158>: call 0x8049288 <read_line>
- 0x08048a7e <+163>: mov %eax,(%esp)
- 0x08048a81 <+166>: call 0x8048b3f <phase_1>
- 0x08048a86 <+171>: call 0x8049387 <phase_defused>
- 0x08048a8b <+176>: movl $0x804a090,(%esp)
- 0x08048a92 <+183>: call 0x80487c0 <puts@plt>
- 0x08048a97 <+188>: call 0x8049288 <read_line>
- 0x08048a9c <+193>: mov %eax,(%esp)
- 0x08048a9f <+196>: call 0x8048b60 <phase_2>
- 0x08048aa4 <+201>: call 0x8049387 <phase_defused>
- 0x08048aa9 <+206>: movl $0x804a0d4,(%esp)
- 0x08048ab0 <+213>: call 0x80487c0 <puts@plt>
- ---Type <return> to continue, or q <return> to quit---q
- Quit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement