Created
June 5, 2015 23:15
-
-
Save AndyA/7e5ed01576d96c937eed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hello: file format elf64-x86-64 | |
| Disassembly of section .init: | |
| 00000000004003e0 <_init>: | |
| 4003e0: 48 83 ec 08 sub $0x8,%rsp | |
| 4003e4: 48 8b 05 0d 0c 20 00 mov 0x200c0d(%rip),%rax # 600ff8 <_DYNAMIC+0x1d0> | |
| 4003eb: 48 85 c0 test %rax,%rax | |
| 4003ee: 74 05 je 4003f5 <_init+0x15> | |
| 4003f0: e8 3b 00 00 00 callq 400430 <__gmon_start__@plt> | |
| 4003f5: 48 83 c4 08 add $0x8,%rsp | |
| 4003f9: c3 retq | |
| Disassembly of section .plt: | |
| 0000000000400400 <puts@plt-0x10>: | |
| 400400: ff 35 02 0c 20 00 pushq 0x200c02(%rip) # 601008 <_GLOBAL_OFFSET_TABLE_+0x8> | |
| 400406: ff 25 04 0c 20 00 jmpq *0x200c04(%rip) # 601010 <_GLOBAL_OFFSET_TABLE_+0x10> | |
| 40040c: 0f 1f 40 00 nopl 0x0(%rax) | |
| 0000000000400410 <puts@plt>: | |
| 400410: ff 25 02 0c 20 00 jmpq *0x200c02(%rip) # 601018 <_GLOBAL_OFFSET_TABLE_+0x18> | |
| 400416: 68 00 00 00 00 pushq $0x0 | |
| 40041b: e9 e0 ff ff ff jmpq 400400 <_init+0x20> | |
| 0000000000400420 <__libc_start_main@plt>: | |
| 400420: ff 25 fa 0b 20 00 jmpq *0x200bfa(%rip) # 601020 <_GLOBAL_OFFSET_TABLE_+0x20> | |
| 400426: 68 01 00 00 00 pushq $0x1 | |
| 40042b: e9 d0 ff ff ff jmpq 400400 <_init+0x20> | |
| 0000000000400430 <__gmon_start__@plt>: | |
| 400430: ff 25 f2 0b 20 00 jmpq *0x200bf2(%rip) # 601028 <_GLOBAL_OFFSET_TABLE_+0x28> | |
| 400436: 68 02 00 00 00 pushq $0x2 | |
| 40043b: e9 c0 ff ff ff jmpq 400400 <_init+0x20> | |
| Disassembly of section .text: | |
| 0000000000400440 <_start>: | |
| 400440: 31 ed xor %ebp,%ebp | |
| 400442: 49 89 d1 mov %rdx,%r9 | |
| 400445: 5e pop %rsi | |
| 400446: 48 89 e2 mov %rsp,%rdx | |
| 400449: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp | |
| 40044d: 50 push %rax | |
| 40044e: 54 push %rsp | |
| 40044f: 49 c7 c0 c0 05 40 00 mov $0x4005c0,%r8 | |
| 400456: 48 c7 c1 50 05 40 00 mov $0x400550,%rcx | |
| 40045d: 48 c7 c7 36 05 40 00 mov $0x400536,%rdi | |
| 400464: e8 b7 ff ff ff callq 400420 <__libc_start_main@plt> | |
| 400469: f4 hlt | |
| 40046a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) | |
| 0000000000400470 <deregister_tm_clones>: | |
| 400470: b8 47 10 60 00 mov $0x601047,%eax | |
| 400475: 55 push %rbp | |
| 400476: 48 2d 40 10 60 00 sub $0x601040,%rax | |
| 40047c: 48 83 f8 0e cmp $0xe,%rax | |
| 400480: 48 89 e5 mov %rsp,%rbp | |
| 400483: 76 1b jbe 4004a0 <deregister_tm_clones+0x30> | |
| 400485: b8 00 00 00 00 mov $0x0,%eax | |
| 40048a: 48 85 c0 test %rax,%rax | |
| 40048d: 74 11 je 4004a0 <deregister_tm_clones+0x30> | |
| 40048f: 5d pop %rbp | |
| 400490: bf 40 10 60 00 mov $0x601040,%edi | |
| 400495: ff e0 jmpq *%rax | |
| 400497: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) | |
| 40049e: 00 00 | |
| 4004a0: 5d pop %rbp | |
| 4004a1: c3 retq | |
| 4004a2: 0f 1f 40 00 nopl 0x0(%rax) | |
| 4004a6: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) | |
| 4004ad: 00 00 00 | |
| 00000000004004b0 <register_tm_clones>: | |
| 4004b0: be 40 10 60 00 mov $0x601040,%esi | |
| 4004b5: 55 push %rbp | |
| 4004b6: 48 81 ee 40 10 60 00 sub $0x601040,%rsi | |
| 4004bd: 48 c1 fe 03 sar $0x3,%rsi | |
| 4004c1: 48 89 e5 mov %rsp,%rbp | |
| 4004c4: 48 89 f0 mov %rsi,%rax | |
| 4004c7: 48 c1 e8 3f shr $0x3f,%rax | |
| 4004cb: 48 01 c6 add %rax,%rsi | |
| 4004ce: 48 d1 fe sar %rsi | |
| 4004d1: 74 15 je 4004e8 <register_tm_clones+0x38> | |
| 4004d3: b8 00 00 00 00 mov $0x0,%eax | |
| 4004d8: 48 85 c0 test %rax,%rax | |
| 4004db: 74 0b je 4004e8 <register_tm_clones+0x38> | |
| 4004dd: 5d pop %rbp | |
| 4004de: bf 40 10 60 00 mov $0x601040,%edi | |
| 4004e3: ff e0 jmpq *%rax | |
| 4004e5: 0f 1f 00 nopl (%rax) | |
| 4004e8: 5d pop %rbp | |
| 4004e9: c3 retq | |
| 4004ea: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) | |
| 00000000004004f0 <__do_global_dtors_aux>: | |
| 4004f0: 80 3d 49 0b 20 00 00 cmpb $0x0,0x200b49(%rip) # 601040 <__TMC_END__> | |
| 4004f7: 75 11 jne 40050a <__do_global_dtors_aux+0x1a> | |
| 4004f9: 55 push %rbp | |
| 4004fa: 48 89 e5 mov %rsp,%rbp | |
| 4004fd: e8 6e ff ff ff callq 400470 <deregister_tm_clones> | |
| 400502: 5d pop %rbp | |
| 400503: c6 05 36 0b 20 00 01 movb $0x1,0x200b36(%rip) # 601040 <__TMC_END__> | |
| 40050a: f3 c3 repz retq | |
| 40050c: 0f 1f 40 00 nopl 0x0(%rax) | |
| 0000000000400510 <frame_dummy>: | |
| 400510: bf 20 0e 60 00 mov $0x600e20,%edi | |
| 400515: 48 83 3f 00 cmpq $0x0,(%rdi) | |
| 400519: 75 05 jne 400520 <frame_dummy+0x10> | |
| 40051b: eb 93 jmp 4004b0 <register_tm_clones> | |
| 40051d: 0f 1f 00 nopl (%rax) | |
| 400520: b8 00 00 00 00 mov $0x0,%eax | |
| 400525: 48 85 c0 test %rax,%rax | |
| 400528: 74 f1 je 40051b <frame_dummy+0xb> | |
| 40052a: 55 push %rbp | |
| 40052b: 48 89 e5 mov %rsp,%rbp | |
| 40052e: ff d0 callq *%rax | |
| 400530: 5d pop %rbp | |
| 400531: e9 7a ff ff ff jmpq 4004b0 <register_tm_clones> | |
| 0000000000400536 <main>: | |
| 400536: 55 push %rbp | |
| 400537: 48 89 e5 mov %rsp,%rbp | |
| 40053a: bf d4 05 40 00 mov $0x4005d4,%edi | |
| 40053f: e8 cc fe ff ff callq 400410 <puts@plt> | |
| 400544: b8 00 00 00 00 mov $0x0,%eax | |
| 400549: 5d pop %rbp | |
| 40054a: c3 retq | |
| 40054b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) | |
| 0000000000400550 <__libc_csu_init>: | |
| 400550: 41 57 push %r15 | |
| 400552: 41 56 push %r14 | |
| 400554: 41 89 ff mov %edi,%r15d | |
| 400557: 41 55 push %r13 | |
| 400559: 41 54 push %r12 | |
| 40055b: 4c 8d 25 ae 08 20 00 lea 0x2008ae(%rip),%r12 # 600e10 <__frame_dummy_init_array_entry> | |
| 400562: 55 push %rbp | |
| 400563: 48 8d 2d ae 08 20 00 lea 0x2008ae(%rip),%rbp # 600e18 <__init_array_end> | |
| 40056a: 53 push %rbx | |
| 40056b: 49 89 f6 mov %rsi,%r14 | |
| 40056e: 49 89 d5 mov %rdx,%r13 | |
| 400571: 31 db xor %ebx,%ebx | |
| 400573: 4c 29 e5 sub %r12,%rbp | |
| 400576: 48 83 ec 08 sub $0x8,%rsp | |
| 40057a: 48 c1 fd 03 sar $0x3,%rbp | |
| 40057e: e8 5d fe ff ff callq 4003e0 <_init> | |
| 400583: 48 85 ed test %rbp,%rbp | |
| 400586: 74 1e je 4005a6 <__libc_csu_init+0x56> | |
| 400588: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) | |
| 40058f: 00 | |
| 400590: 4c 89 ea mov %r13,%rdx | |
| 400593: 4c 89 f6 mov %r14,%rsi | |
| 400596: 44 89 ff mov %r15d,%edi | |
| 400599: 41 ff 14 dc callq *(%r12,%rbx,8) | |
| 40059d: 48 83 c3 01 add $0x1,%rbx | |
| 4005a1: 48 39 eb cmp %rbp,%rbx | |
| 4005a4: 75 ea jne 400590 <__libc_csu_init+0x40> | |
| 4005a6: 48 83 c4 08 add $0x8,%rsp | |
| 4005aa: 5b pop %rbx | |
| 4005ab: 5d pop %rbp | |
| 4005ac: 41 5c pop %r12 | |
| 4005ae: 41 5d pop %r13 | |
| 4005b0: 41 5e pop %r14 | |
| 4005b2: 41 5f pop %r15 | |
| 4005b4: c3 retq | |
| 4005b5: 90 nop | |
| 4005b6: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) | |
| 4005bd: 00 00 00 | |
| 00000000004005c0 <__libc_csu_fini>: | |
| 4005c0: f3 c3 repz retq | |
| Disassembly of section .fini: | |
| 00000000004005c4 <_fini>: | |
| 4005c4: 48 83 ec 08 sub $0x8,%rsp | |
| 4005c8: 48 83 c4 08 add $0x8,%rsp | |
| 4005cc: c3 retq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment