bad: file format elf64-x86-64 Disassembly of section .init: 0000000000400438 <_init> (File Offset: 0x438): 400438: 48 83 ec 08 sub $0x8,%rsp 40043c: 48 8b 05 b5 0b 20 00 mov 0x200bb5(%rip),%rax # 600ff8 <_DYNAMIC+0x1d0> (File Offset: 0x200ff8) 400443: 48 85 c0 test %rax,%rax 400446: 74 05 je 40044d <_init+0x15> (File Offset: 0x44d) 400448: e8 63 00 00 00 callq 4004b0 (File Offset: 0x4b0) 40044d: 48 83 c4 08 add $0x8,%rsp 400451: c3 retq Disassembly of section .plt: 0000000000400460 (File Offset: 0x460): 400460: ff 35 a2 0b 20 00 pushq 0x200ba2(%rip) # 601008 <_GLOBAL_OFFSET_TABLE_+0x8> (File Offset: 0x201008) 400466: ff 25 a4 0b 20 00 jmpq *0x200ba4(%rip) # 601010 <_GLOBAL_OFFSET_TABLE_+0x10> (File Offset: 0x201010) 40046c: 0f 1f 40 00 nopl 0x0(%rax) 0000000000400470 (File Offset: 0x470): 400470: ff 25 a2 0b 20 00 jmpq *0x200ba2(%rip) # 601018 <_GLOBAL_OFFSET_TABLE_+0x18> (File Offset: 0x201018) 400476: 68 00 00 00 00 pushq $0x0 40047b: e9 e0 ff ff ff jmpq 400460 <_init+0x28> (File Offset: 0x460) 0000000000400480 <__libc_start_main@plt> (File Offset: 0x480): 400480: ff 25 9a 0b 20 00 jmpq *0x200b9a(%rip) # 601020 <_GLOBAL_OFFSET_TABLE_+0x20> (File Offset: 0x201020) 400486: 68 01 00 00 00 pushq $0x1 40048b: e9 d0 ff ff ff jmpq 400460 <_init+0x28> (File Offset: 0x460) 0000000000400490 (File Offset: 0x490): 400490: ff 25 92 0b 20 00 jmpq *0x200b92(%rip) # 601028 <_GLOBAL_OFFSET_TABLE_+0x28> (File Offset: 0x201028) 400496: 68 02 00 00 00 pushq $0x2 40049b: e9 c0 ff ff ff jmpq 400460 <_init+0x28> (File Offset: 0x460) 00000000004004a0 (File Offset: 0x4a0): 4004a0: ff 25 8a 0b 20 00 jmpq *0x200b8a(%rip) # 601030 <_GLOBAL_OFFSET_TABLE_+0x30> (File Offset: 0x201030) 4004a6: 68 03 00 00 00 pushq $0x3 4004ab: e9 b0 ff ff ff jmpq 400460 <_init+0x28> (File Offset: 0x460) Disassembly of section .plt.got: 00000000004004b0 <.plt.got> (File Offset: 0x4b0): 4004b0: ff 25 42 0b 20 00 jmpq *0x200b42(%rip) # 600ff8 <_DYNAMIC+0x1d0> (File Offset: 0x200ff8) 4004b6: 66 90 xchg %ax,%ax Disassembly of section .text: 00000000004004c0
(File Offset: 0x4c0): 4004c0: 50 push %rax 4004c1: 31 c0 xor %eax,%eax 4004c3: e8 0e 01 00 00 callq 4005d6 (File Offset: 0x5d6) 4004c8: bf 94 06 40 00 mov $0x400694,%edi 4004cd: 89 c6 mov %eax,%esi 4004cf: 31 c0 xor %eax,%eax 4004d1: e8 9a ff ff ff callq 400470 (File Offset: 0x470) 4004d6: 31 c0 xor %eax,%eax 4004d8: 5a pop %rdx 4004d9: c3 retq 4004da: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 00000000004004e0 <_start> (File Offset: 0x4e0): 4004e0: 31 ed xor %ebp,%ebp 4004e2: 49 89 d1 mov %rdx,%r9 4004e5: 5e pop %rsi 4004e6: 48 89 e2 mov %rsp,%rdx 4004e9: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 4004ed: 50 push %rax 4004ee: 54 push %rsp 4004ef: 49 c7 c0 80 06 40 00 mov $0x400680,%r8 4004f6: 48 c7 c1 10 06 40 00 mov $0x400610,%rcx 4004fd: 48 c7 c7 c0 04 40 00 mov $0x4004c0,%rdi 400504: e8 77 ff ff ff callq 400480 <__libc_start_main@plt> (File Offset: 0x480) 400509: f4 hlt 40050a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 0000000000400510 (File Offset: 0x510): 400510: b8 4f 10 60 00 mov $0x60104f,%eax 400515: 55 push %rbp 400516: 48 2d 48 10 60 00 sub $0x601048,%rax 40051c: 48 83 f8 0e cmp $0xe,%rax 400520: 48 89 e5 mov %rsp,%rbp 400523: 76 1b jbe 400540 (File Offset: 0x540) 400525: b8 00 00 00 00 mov $0x0,%eax 40052a: 48 85 c0 test %rax,%rax 40052d: 74 11 je 400540 (File Offset: 0x540) 40052f: 5d pop %rbp 400530: bf 48 10 60 00 mov $0x601048,%edi 400535: ff e0 jmpq *%rax 400537: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 40053e: 00 00 400540: 5d pop %rbp 400541: c3 retq 400542: 0f 1f 40 00 nopl 0x0(%rax) 400546: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 40054d: 00 00 00 0000000000400550 (File Offset: 0x550): 400550: be 48 10 60 00 mov $0x601048,%esi 400555: 55 push %rbp 400556: 48 81 ee 48 10 60 00 sub $0x601048,%rsi 40055d: 48 c1 fe 03 sar $0x3,%rsi 400561: 48 89 e5 mov %rsp,%rbp 400564: 48 89 f0 mov %rsi,%rax 400567: 48 c1 e8 3f shr $0x3f,%rax 40056b: 48 01 c6 add %rax,%rsi 40056e: 48 d1 fe sar %rsi 400571: 74 15 je 400588 (File Offset: 0x588) 400573: b8 00 00 00 00 mov $0x0,%eax 400578: 48 85 c0 test %rax,%rax 40057b: 74 0b je 400588 (File Offset: 0x588) 40057d: 5d pop %rbp 40057e: bf 48 10 60 00 mov $0x601048,%edi 400583: ff e0 jmpq *%rax 400585: 0f 1f 00 nopl (%rax) 400588: 5d pop %rbp 400589: c3 retq 40058a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 0000000000400590 <__do_global_dtors_aux> (File Offset: 0x590): 400590: 80 3d b1 0a 20 00 00 cmpb $0x0,0x200ab1(%rip) # 601048 <__TMC_END__> (File Offset: 0x201048) 400597: 75 11 jne 4005aa <__do_global_dtors_aux+0x1a> (File Offset: 0x5aa) 400599: 55 push %rbp 40059a: 48 89 e5 mov %rsp,%rbp 40059d: e8 6e ff ff ff callq 400510 (File Offset: 0x510) 4005a2: 5d pop %rbp 4005a3: c6 05 9e 0a 20 00 01 movb $0x1,0x200a9e(%rip) # 601048 <__TMC_END__> (File Offset: 0x201048) 4005aa: f3 c3 repz retq 4005ac: 0f 1f 40 00 nopl 0x0(%rax) 00000000004005b0 (File Offset: 0x5b0): 4005b0: bf 20 0e 60 00 mov $0x600e20,%edi 4005b5: 48 83 3f 00 cmpq $0x0,(%rdi) 4005b9: 75 05 jne 4005c0 (File Offset: 0x5c0) 4005bb: eb 93 jmp 400550 (File Offset: 0x550) 4005bd: 0f 1f 00 nopl (%rax) 4005c0: b8 00 00 00 00 mov $0x0,%eax 4005c5: 48 85 c0 test %rax,%rax 4005c8: 74 f1 je 4005bb (File Offset: 0x5bb) 4005ca: 55 push %rbp 4005cb: 48 89 e5 mov %rsp,%rbp 4005ce: ff d0 callq *%rax 4005d0: 5d pop %rbp 4005d1: e9 7a ff ff ff jmpq 400550 (File Offset: 0x550) 00000000004005d6 (File Offset: 0x5d6): 4005d6: 55 push %rbp 4005d7: 53 push %rbx 4005d8: 31 db xor %ebx,%ebx 4005da: 48 83 ec 78 sub $0x78,%rsp 4005de: e8 ad fe ff ff callq 400490 (File Offset: 0x490) 4005e3: 83 f8 0a cmp $0xa,%eax 4005e6: 48 63 eb movslq %ebx,%rbp 4005e9: 74 0e je 4005f9 (File Offset: 0x5f9) 4005eb: 83 f8 ff cmp $0xffffffff,%eax 4005ee: 74 09 je 4005f9 (File Offset: 0x5f9) 4005f0: 88 44 1c 0c mov %al,0xc(%rsp,%rbx,1) 4005f4: 48 ff c3 inc %rbx 4005f7: eb e5 jmp 4005de (File Offset: 0x5de) 4005f9: 48 8d 7c 24 0c lea 0xc(%rsp),%rdi 4005fe: c6 44 2c 0c 00 movb $0x0,0xc(%rsp,%rbp,1) 400603: e8 98 fe ff ff callq 4004a0 (File Offset: 0x4a0) 400608: 48 83 c4 78 add $0x78,%rsp 40060c: 5b pop %rbx 40060d: 5d pop %rbp 40060e: c3 retq 40060f: 90 nop 0000000000400610 <__libc_csu_init> (File Offset: 0x610): 400610: 41 57 push %r15 400612: 41 56 push %r14 400614: 41 89 ff mov %edi,%r15d 400617: 41 55 push %r13 400619: 41 54 push %r12 40061b: 4c 8d 25 ee 07 20 00 lea 0x2007ee(%rip),%r12 # 600e10 <__frame_dummy_init_array_entry> (File Offset: 0x200e10) 400622: 55 push %rbp 400623: 48 8d 2d ee 07 20 00 lea 0x2007ee(%rip),%rbp # 600e18 <__init_array_end> (File Offset: 0x200e18) 40062a: 53 push %rbx 40062b: 49 89 f6 mov %rsi,%r14 40062e: 49 89 d5 mov %rdx,%r13 400631: 4c 29 e5 sub %r12,%rbp 400634: 48 83 ec 08 sub $0x8,%rsp 400638: 48 c1 fd 03 sar $0x3,%rbp 40063c: e8 f7 fd ff ff callq 400438 <_init> (File Offset: 0x438) 400641: 48 85 ed test %rbp,%rbp 400644: 74 20 je 400666 <__libc_csu_init+0x56> (File Offset: 0x666) 400646: 31 db xor %ebx,%ebx 400648: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 40064f: 00 400650: 4c 89 ea mov %r13,%rdx 400653: 4c 89 f6 mov %r14,%rsi 400656: 44 89 ff mov %r15d,%edi 400659: 41 ff 14 dc callq *(%r12,%rbx,8) 40065d: 48 83 c3 01 add $0x1,%rbx 400661: 48 39 eb cmp %rbp,%rbx 400664: 75 ea jne 400650 <__libc_csu_init+0x40> (File Offset: 0x650) 400666: 48 83 c4 08 add $0x8,%rsp 40066a: 5b pop %rbx 40066b: 5d pop %rbp 40066c: 41 5c pop %r12 40066e: 41 5d pop %r13 400670: 41 5e pop %r14 400672: 41 5f pop %r15 400674: c3 retq 400675: 90 nop 400676: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 40067d: 00 00 00 0000000000400680 <__libc_csu_fini> (File Offset: 0x680): 400680: f3 c3 repz retq Disassembly of section .fini: 0000000000400684 <_fini> (File Offset: 0x684): 400684: 48 83 ec 08 sub $0x8,%rsp 400688: 48 83 c4 08 add $0x8,%rsp 40068c: c3 retq