001
06.02.2011, 14:33 Uhr
huckleberry
|
Hier gehts weiter
Code: |
00000000004005b4 <subfunk>: 4005b4: 55 push %rbp 4005b5: 48 89 e5 mov %rsp,%rbp 4005b8: 48 83 ec 30 sub $0x30,%rsp 4005bc: 48 89 7d d8 mov %rdi,-0x28(%rbp) 4005c0: 8b 05 66 01 00 00 mov 0x166(%rip),%eax # 40072c <_IO_stdin_used+0x4> 4005c6: 89 45 e0 mov %eax,-0x20(%rbp) 4005c9: 48 8b 55 d8 mov -0x28(%rbp),%rdx 4005cd: 48 8d 45 f0 lea -0x10(%rbp),%rax 4005d1: 48 89 d6 mov %rdx,%rsi 4005d4: 48 89 c7 mov %rax,%rdi 4005d7: e8 e4 fe ff ff callq 4004c0 <strcpy@plt> 4005dc: c9 leaveq 4005dd: c3 retq
00000000004005de <main>: 4005de: 55 push %rbp 4005df: 48 89 e5 mov %rsp,%rbp 4005e2: 48 83 ec 10 sub $0x10,%rsp 4005e6: 89 7d fc mov %edi,-0x4(%rbp) 4005e9: 48 89 75 f0 mov %rsi,-0x10(%rbp) 4005ed: b8 30 07 40 00 mov $0x400730,%eax 4005f2: 48 89 c7 mov %rax,%rdi 4005f5: b8 00 00 00 00 mov $0x0,%eax 4005fa: e8 91 fe ff ff callq 400490 <printf@plt> 4005ff: 83 7d fc 01 cmpl $0x1,-0x4(%rbp) 400603: 7e 28 jle 40062d <main+0x4f> 400605: 48 8b 45 f0 mov -0x10(%rbp),%rax 400609: 48 83 c0 08 add $0x8,%rax 40060d: 48 8b 00 mov (%rax),%rax 400610: 48 89 c7 mov %rax,%rdi 400613: e8 9c ff ff ff callq 4005b4 <subfunk> 400618: 48 8b 45 f0 mov -0x10(%rbp),%rax 40061c: 48 83 c0 08 add $0x8,%rax 400620: 48 8b 00 mov (%rax),%rax 400623: 48 89 c7 mov %rax,%rdi 400626: e8 75 fe ff ff callq 4004a0 <puts@plt> 40062b: eb 0a jmp 400637 <main+0x59> 40062d: bf 3a 07 40 00 mov $0x40073a,%edi 400632: e8 69 fe ff ff callq 4004a0 <puts@plt> 400637: c9 leaveq 400638: c3 retq 400639: 90 nop 40063a: 90 nop 40063b: 90 nop 40063c: 90 nop 40063d: 90 nop 40063e: 90 nop 40063f: 90 nop
0000000000400640 <__libc_csu_init>: 400640: 48 89 6c 24 d8 mov %rbp,-0x28(%rsp) 400645: 4c 89 64 24 e0 mov %r12,-0x20(%rsp) 40064a: 48 8d 2d c3 07 20 00 lea 0x2007c3(%rip),%rbp # 600e14 <__init_array_end> 400651: 4c 8d 25 bc 07 20 00 lea 0x2007bc(%rip),%r12 # 600e14 <__init_array_end> 400658: 4c 89 6c 24 e8 mov %r13,-0x18(%rsp) 40065d: 4c 89 74 24 f0 mov %r14,-0x10(%rsp) 400662: 4c 89 7c 24 f8 mov %r15,-0x8(%rsp) 400667: 48 89 5c 24 d0 mov %rbx,-0x30(%rsp) 40066c: 48 83 ec 38 sub $0x38,%rsp 400670: 4c 29 e5 sub %r12,%rbp 400673: 41 89 fd mov %edi,%r13d 400676: 49 89 f6 mov %rsi,%r14 400679: 48 c1 fd 03 sar $0x3,%rbp 40067d: 49 89 d7 mov %rdx,%r15 400680: e8 e3 fd ff ff callq 400468 <_init> 400685: 48 85 ed test %rbp,%rbp 400688: 74 1c je 4006a6 <__libc_csu_init+0x66> 40068a: 31 db xor %ebx,%ebx 40068c: eb 02 jmp 400690 <__libc_csu_init+0x50> 40068e: 90 nop 40068f: 90 nop 400690: 4c 89 fa mov %r15,%rdx 400693: 4c 89 f6 mov %r14,%rsi 400696: 44 89 ef mov %r13d,%edi 400699: 41 ff 14 dc callq *(%r12,%rbx,8) 40069d: 48 83 c3 01 add $0x1,%rbx 4006a1: 48 39 eb cmp %rbp,%rbx 4006a4: 72 ea jb 400690 <__libc_csu_init+0x50> 4006a6: 48 8b 5c 24 08 mov 0x8(%rsp),%rbx 4006ab: 48 8b 6c 24 10 mov 0x10(%rsp),%rbp 4006b0: 4c 8b 64 24 18 mov 0x18(%rsp),%r12 4006b5: 4c 8b 6c 24 20 mov 0x20(%rsp),%r13 4006ba: 4c 8b 74 24 28 mov 0x28(%rsp),%r14 4006bf: 4c 8b 7c 24 30 mov 0x30(%rsp),%r15 4006c4: 48 83 c4 38 add $0x38,%rsp 4006c8: c3 retq 4006c9: eb 05 jmp 4006d0 <__libc_csu_fini> 4006cb: 90 nop 4006cc: 90 nop 4006cd: 90 nop 4006ce: 90 nop 4006cf: 90 nop
00000000004006d0 <__libc_csu_fini>: 4006d0: f3 c3 repz retq 4006d2: 90 nop 4006d3: 90 nop 4006d4: 90 nop 4006d5: 90 nop 4006d6: 90 nop 4006d7: 90 nop 4006d8: 90 nop 4006d9: 90 nop 4006da: 90 nop 4006db: 90 nop 4006dc: 90 nop 4006dd: 90 nop 4006de: 90 nop 4006df: 90 nop
00000000004006e0 <__do_global_ctors_aux>: 4006e0: 55 push %rbp 4006e1: 48 89 e5 mov %rsp,%rbp 4006e4: 53 push %rbx 4006e5: 48 83 ec 08 sub $0x8,%rsp 4006e9: 48 8b 05 28 07 20 00 mov 0x200728(%rip),%rax # 600e18 <__CTOR_LIST__> 4006f0: 48 83 f8 ff cmp $0xffffffffffffffff,%rax 4006f4: 74 19 je 40070f <__do_global_ctors_aux+0x2f> 4006f6: bb 18 0e 60 00 mov $0x600e18,%ebx 4006fb: eb 03 jmp 400700 <__do_global_ctors_aux+0x20> 4006fd: 90 nop 4006fe: 90 nop 4006ff: 90 nop 400700: 48 83 eb 08 sub $0x8,%rbx 400704: ff d0 callq *%rax 400706: 48 8b 03 mov (%rbx),%rax 400709: 48 83 f8 ff cmp $0xffffffffffffffff,%rax 40070d: 75 f1 jne 400700 <__do_global_ctors_aux+0x20> 40070f: 48 83 c4 08 add $0x8,%rsp 400713: 5b pop %rbx 400714: c9 leaveq 400715: c3 retq 400716: 90 nop 400717: 90 nop
Disassembly of section .fini:
0000000000400718 <_fini>: 400718: 48 83 ec 08 sub $0x8,%rsp 40071c: e8 ff fd ff ff callq 400520 <__do_global_dtors_aux> 400721: 48 83 c4 08 add $0x8,%rsp 400725: c3 retq
|
-- There are 10 types, those who understand binary and those who don't... |