Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 08048404 <run>:
- 8048404: 55 push %ebp
- 8048405: 89 e5 mov %esp,%ebp
- 8048407: 83 ec 04 sub $0x4,%esp
- 804840a: 8d 45 fc lea 0xfffffffc(%ebp),%eax
- 804840d: 83 c0 08 add $0x8,%eax
- 8048410: 89 45 fc mov %eax,0xfffffffc(%ebp)
- 8048413: 8b 55 fc mov 0xfffffffc(%ebp),%edx
- 8048416: 8b 45 08 mov 0x8(%ebp),%eax
- 8048419: 89 02 mov %eax,(%edx)
- 804841b: c9 leave
- 804841c: c3 ret
- 0804841d <main>:
- 804841d: 55 push %ebp
- 804841e: 89 e5 mov %esp,%ebp
- 8048420: 83 ec 18 sub $0x18,%esp
- 8048423: 83 e4 f0 and $0xfffffff0,%esp
- 8048426: b8 00 00 00 00 mov $0x0,%eax
- 804842b: 83 c0 0f add $0xf,%eax
- 804842e: 83 c0 0f add $0xf,%eax
- 8048431: c1 e8 04 shr $0x4,%eax
- 8048434: c1 e0 04 shl $0x4,%eax
- 8048437: 29 c4 sub %eax,%esp
- 8048439: 8b 45 0c mov 0xc(%ebp),%eax
- 804843c: 83 c0 04 add $0x4,%eax
- 804843f: 83 38 00 cmpl $0x0,(%eax)
- 8048442: 75 0c jne 8048450 <main+0x33>
- 8048444: c7 04 24 01 00 00 00 movl $0x1,(%esp)
- 804844b: e8 d0 fe ff ff call 8048320 <exit@plt>
- 8048450: 8b 45 0c mov 0xc(%ebp),%eax
- 8048453: 83 c0 04 add $0x4,%eax
- 8048456: 8b 00 mov (%eax),%eax
- 8048458: 89 04 24 mov %eax,(%esp)
- 804845b: e8 b0 fe ff ff call 8048310 <opendir@plt>
- 8048460: 89 45 f8 mov %eax,0xfffffff8(%ebp)
- 8048463: 83 7d f8 00 cmpl $0x0,0xfffffff8(%ebp)
- 8048467: 75 0c jne 8048475 <main+0x58>
- 8048469: c7 04 24 01 00 00 00 movl $0x1,(%esp)
- 8048470: e8 ab fe ff ff call 8048320 <exit@plt>
- 8048475: 8b 45 f8 mov 0xfffffff8(%ebp),%eax
- 8048478: 89 04 24 mov %eax,(%esp)
- 804847b: e8 b0 fe ff ff call 8048330 <readdir@plt>
- 8048480: 89 45 fc mov %eax,0xfffffffc(%ebp)
- 8048483: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp)
- 8048487: 74 32 je 80484bb <main+0x9e>
- 8048489: 8b 45 fc mov 0xfffffffc(%ebp),%eax
- 804848c: 83 c0 0b add $0xb,%eax
- 804848f: c7 44 24 08 03 00 00 movl $0x3,0x8(%esp)
- 8048496: 00
- 8048497: 89 44 24 04 mov %eax,0x4(%esp)
- 804849b: c7 04 24 c8 85 04 08 movl $0x80485c8,(%esp)
- 80484a2: e8 49 fe ff ff call 80482f0 <strncmp@plt>
- 80484a7: 85 c0 test %eax,%eax
- 80484a9: 75 ca jne 8048475 <main+0x58>
- 80484ab: 8b 45 fc mov 0xfffffffc(%ebp),%eax
- 80484ae: 83 c0 0e add $0xe,%eax
- 80484b1: 89 04 24 mov %eax,(%esp)
- 80484b4: e8 4b ff ff ff call 8048404 <run>
- 80484b9: eb ba jmp 8048475 <main+0x58>
- 80484bb: b8 00 00 00 00 mov $0x0,%eax
- 80484c0: c9 leave
- 80484c1: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement