lab5_binary: file format elf64-x86-64 Disassembly of section .init: 00000000000005a0 <.init>: 5a0: 48 83 ec 08 sub $0x8,%rsp 5a4: 48 8b 05 35 0a 20 00 mov 0x200a35(%rip),%rax # 200fe0 <__cxa_finalize@plt+0x2009e0> 5ab: 48 85 c0 test %rax,%rax 5ae: 74 02 je 5b2 5b0: ff d0 callq *%rax 5b2: 48 83 c4 08 add $0x8,%rsp 5b6: c3 retq Disassembly of section .plt: 00000000000005c0 : 5c0: ff 35 42 0a 20 00 pushq 0x200a42(%rip) # 201008 <__cxa_finalize@plt+0x200a08> 5c6: ff 25 44 0a 20 00 jmpq *0x200a44(%rip) # 201010 <__cxa_finalize@plt+0x200a10> 5cc: 0f 1f 40 00 nopl 0x0(%rax) 00000000000005d0 : 5d0: ff 25 42 0a 20 00 jmpq *0x200a42(%rip) # 201018 <__cxa_finalize@plt+0x200a18> 5d6: 68 00 00 00 00 pushq $0x0 5db: e9 e0 ff ff ff jmpq 5c0 00000000000005e0 : 5e0: ff 25 3a 0a 20 00 jmpq *0x200a3a(%rip) # 201020 <__cxa_finalize@plt+0x200a20> 5e6: 68 01 00 00 00 pushq $0x1 5eb: e9 d0 ff ff ff jmpq 5c0 00000000000005f0 : 5f0: ff 25 32 0a 20 00 jmpq *0x200a32(%rip) # 201028 <__cxa_finalize@plt+0x200a28> 5f6: 68 02 00 00 00 pushq $0x2 5fb: e9 c0 ff ff ff jmpq 5c0 Disassembly of section .plt.got: 0000000000000600 <__cxa_finalize@plt>: 600: ff 25 f2 09 20 00 jmpq *0x2009f2(%rip) # 200ff8 <__cxa_finalize@plt+0x2009f8> 606: 66 90 xchg %ax,%ax Disassembly of section .text: 0000000000000610 <.text>: 610: 31 ed xor %ebp,%ebp 612: 49 89 d1 mov %rdx,%r9 615: 5e pop %rsi 616: 48 89 e2 mov %rsp,%rdx 619: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 61d: 50 push %rax 61e: 54 push %rsp 61f: 4c 8d 05 2a 02 00 00 lea 0x22a(%rip),%r8 # 850 <__cxa_finalize@plt+0x250> 626: 48 8d 0d b3 01 00 00 lea 0x1b3(%rip),%rcx # 7e0 <__cxa_finalize@plt+0x1e0> 62d: 48 8d 3d 3c 01 00 00 lea 0x13c(%rip),%rdi # 770 <__cxa_finalize@plt+0x170> 634: ff 15 9e 09 20 00 callq *0x20099e(%rip) # 200fd8 <__cxa_finalize@plt+0x2009d8> 63a: f4 hlt 63b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 640: 48 8d 3d f9 09 20 00 lea 0x2009f9(%rip),%rdi # 201040 <__cxa_finalize@plt+0x200a40> 647: 48 8d 05 f9 09 20 00 lea 0x2009f9(%rip),%rax # 201047 <__cxa_finalize@plt+0x200a47> 64e: 55 push %rbp 64f: 48 29 f8 sub %rdi,%rax 652: 48 89 e5 mov %rsp,%rbp 655: 48 83 f8 0e cmp $0xe,%rax 659: 76 15 jbe 670 <__cxa_finalize@plt+0x70> 65b: 48 8b 05 6e 09 20 00 mov 0x20096e(%rip),%rax # 200fd0 <__cxa_finalize@plt+0x2009d0> 662: 48 85 c0 test %rax,%rax 665: 74 09 je 670 <__cxa_finalize@plt+0x70> 667: 5d pop %rbp 668: ff e0 jmpq *%rax 66a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 670: 5d pop %rbp 671: c3 retq 672: 0f 1f 40 00 nopl 0x0(%rax) 676: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 67d: 00 00 00 680: 48 8d 3d b9 09 20 00 lea 0x2009b9(%rip),%rdi # 201040 <__cxa_finalize@plt+0x200a40> 687: 48 8d 35 b2 09 20 00 lea 0x2009b2(%rip),%rsi # 201040 <__cxa_finalize@plt+0x200a40> 68e: 55 push %rbp 68f: 48 29 fe sub %rdi,%rsi 692: 48 89 e5 mov %rsp,%rbp 695: 48 c1 fe 03 sar $0x3,%rsi 699: 48 89 f0 mov %rsi,%rax 69c: 48 c1 e8 3f shr $0x3f,%rax 6a0: 48 01 c6 add %rax,%rsi 6a3: 48 d1 fe sar %rsi 6a6: 74 18 je 6c0 <__cxa_finalize@plt+0xc0> 6a8: 48 8b 05 41 09 20 00 mov 0x200941(%rip),%rax # 200ff0 <__cxa_finalize@plt+0x2009f0> 6af: 48 85 c0 test %rax,%rax 6b2: 74 0c je 6c0 <__cxa_finalize@plt+0xc0> 6b4: 5d pop %rbp 6b5: ff e0 jmpq *%rax 6b7: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 6be: 00 00 6c0: 5d pop %rbp 6c1: c3 retq 6c2: 0f 1f 40 00 nopl 0x0(%rax) 6c6: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 6cd: 00 00 00 6d0: 80 3d 69 09 20 00 00 cmpb $0x0,0x200969(%rip) # 201040 <__cxa_finalize@plt+0x200a40> 6d7: 75 27 jne 700 <__cxa_finalize@plt+0x100> 6d9: 48 83 3d 17 09 20 00 cmpq $0x0,0x200917(%rip) # 200ff8 <__cxa_finalize@plt+0x2009f8> 6e0: 00 6e1: 55 push %rbp 6e2: 48 89 e5 mov %rsp,%rbp 6e5: 74 0c je 6f3 <__cxa_finalize@plt+0xf3> 6e7: 48 8b 3d 4a 09 20 00 mov 0x20094a(%rip),%rdi # 201038 <__cxa_finalize@plt+0x200a38> 6ee: e8 0d ff ff ff callq 600 <__cxa_finalize@plt> 6f3: e8 48 ff ff ff callq 640 <__cxa_finalize@plt+0x40> 6f8: 5d pop %rbp 6f9: c6 05 40 09 20 00 01 movb $0x1,0x200940(%rip) # 201040 <__cxa_finalize@plt+0x200a40> 700: f3 c3 repz retq 702: 0f 1f 40 00 nopl 0x0(%rax) 706: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 70d: 00 00 00 710: 48 8d 3d d1 06 20 00 lea 0x2006d1(%rip),%rdi # 200de8 <__cxa_finalize@plt+0x2007e8> 717: 48 83 3f 00 cmpq $0x0,(%rdi) 71b: 75 0b jne 728 <__cxa_finalize@plt+0x128> 71d: e9 5e ff ff ff jmpq 680 <__cxa_finalize@plt+0x80> 722: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 728: 48 8b 05 b9 08 20 00 mov 0x2008b9(%rip),%rax # 200fe8 <__cxa_finalize@plt+0x2009e8> 72f: 48 85 c0 test %rax,%rax 732: 74 e9 je 71d <__cxa_finalize@plt+0x11d> 734: 55 push %rbp 735: 48 89 e5 mov %rsp,%rbp 738: ff d0 callq *%rax 73a: 5d pop %rbp 73b: e9 40 ff ff ff jmpq 680 <__cxa_finalize@plt+0x80> 740: 55 push %rbp 741: 48 89 e5 mov %rsp,%rbp 744: 48 83 ec 20 sub $0x20,%rsp 748: 48 89 7d e8 mov %rdi,-0x18(%rbp) 74c: 48 8b 45 e8 mov -0x18(%rbp),%rax 750: 48 89 c7 mov %rax,%rdi 753: e8 88 fe ff ff callq 5e0 758: 89 45 fc mov %eax,-0x4(%rbp) 75b: 81 7d fc 00 04 00 00 cmpl $0x400,-0x4(%rbp) 762: 76 07 jbe 76b <__cxa_finalize@plt+0x16b> 764: b8 ff ff ff ff mov $0xffffffff,%eax 769: eb 03 jmp 76e <__cxa_finalize@plt+0x16e> 76b: 8b 45 fc mov -0x4(%rbp),%eax 76e: c9 leaveq 76f: c3 retq 770: 55 push %rbp 771: 48 89 e5 mov %rsp,%rbp 774: 48 81 ec 20 04 00 00 sub $0x420,%rsp 77b: 89 bd ec fb ff ff mov %edi,-0x414(%rbp) 781: 48 89 b5 e0 fb ff ff mov %rsi,-0x420(%rbp) 788: 83 bd ec fb ff ff 01 cmpl $0x1,-0x414(%rbp) 78f: 7f 0a jg 79b <__cxa_finalize@plt+0x19b> 791: bf 00 00 00 00 mov $0x0,%edi 796: e8 55 fe ff ff callq 5f0 79b: 48 8b 85 e0 fb ff ff mov -0x420(%rbp),%rax 7a2: 48 83 c0 08 add $0x8,%rax 7a6: 48 8b 00 mov (%rax),%rax 7a9: 48 89 c7 mov %rax,%rdi 7ac: e8 8f ff ff ff callq 740 <__cxa_finalize@plt+0x140> 7b1: 48 98 cltq 7b3: 48 89 45 f8 mov %rax,-0x8(%rbp) 7b7: 48 8b 55 f8 mov -0x8(%rbp),%rdx 7bb: 48 8d 85 f0 fb ff ff lea -0x410(%rbp),%rax 7c2: be 41 00 00 00 mov $0x41,%esi 7c7: 48 89 c7 mov %rax,%rdi 7ca: e8 01 fe ff ff callq 5d0 7cf: b8 00 00 00 00 mov $0x0,%eax 7d4: c9 leaveq 7d5: c3 retq 7d6: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 7dd: 00 00 00 7e0: 41 57 push %r15 7e2: 41 56 push %r14 7e4: 41 89 ff mov %edi,%r15d 7e7: 41 55 push %r13 7e9: 41 54 push %r12 7eb: 4c 8d 25 e6 05 20 00 lea 0x2005e6(%rip),%r12 # 200dd8 <__cxa_finalize@plt+0x2007d8> 7f2: 55 push %rbp 7f3: 48 8d 2d e6 05 20 00 lea 0x2005e6(%rip),%rbp # 200de0 <__cxa_finalize@plt+0x2007e0> 7fa: 53 push %rbx 7fb: 49 89 f6 mov %rsi,%r14 7fe: 49 89 d5 mov %rdx,%r13 801: 4c 29 e5 sub %r12,%rbp 804: 48 83 ec 08 sub $0x8,%rsp 808: 48 c1 fd 03 sar $0x3,%rbp 80c: e8 8f fd ff ff callq 5a0 811: 48 85 ed test %rbp,%rbp 814: 74 20 je 836 <__cxa_finalize@plt+0x236> 816: 31 db xor %ebx,%ebx 818: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 81f: 00 820: 4c 89 ea mov %r13,%rdx 823: 4c 89 f6 mov %r14,%rsi 826: 44 89 ff mov %r15d,%edi 829: 41 ff 14 dc callq *(%r12,%rbx,8) 82d: 48 83 c3 01 add $0x1,%rbx 831: 48 39 dd cmp %rbx,%rbp 834: 75 ea jne 820 <__cxa_finalize@plt+0x220> 836: 48 83 c4 08 add $0x8,%rsp 83a: 5b pop %rbx 83b: 5d pop %rbp 83c: 41 5c pop %r12 83e: 41 5d pop %r13 840: 41 5e pop %r14 842: 41 5f pop %r15 844: c3 retq 845: 90 nop 846: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 84d: 00 00 00 850: f3 c3 repz retq Disassembly of section .fini: 0000000000000854 <.fini>: 854: 48 83 ec 08 sub $0x8,%rsp 858: 48 83 c4 08 add $0x8,%rsp 85c: c3 retq