overflow.exe: file format elf64-x86-64 Disassembly of section .init: 0000000000400408 <_init>: 400408: 48 83 ec 08 sub $0x8,%rsp 40040c: 48 8b 05 e5 0b 20 00 mov 0x200be5(%rip),%rax # 600ff8 <__gmon_start__> 400413: 48 85 c0 test %rax,%rax 400416: 74 02 je 40041a <_init+0x12> 400418: ff d0 callq *%rax 40041a: 48 83 c4 08 add $0x8,%rsp 40041e: c3 retq Disassembly of section .plt: 0000000000400420 <.plt>: 400420: ff 35 e2 0b 20 00 pushq 0x200be2(%rip) # 601008 <_GLOBAL_OFFSET_TABLE_+0x8> 400426: ff 25 e4 0b 20 00 jmpq *0x200be4(%rip) # 601010 <_GLOBAL_OFFSET_TABLE_+0x10> 40042c: 0f 1f 40 00 nopl 0x0(%rax) 0000000000400430 : 400430: ff 25 e2 0b 20 00 jmpq *0x200be2(%rip) # 601018 400436: 68 00 00 00 00 pushq $0x0 40043b: e9 e0 ff ff ff jmpq 400420 <.plt> 0000000000400440 <__isoc99_scanf@plt>: 400440: ff 25 da 0b 20 00 jmpq *0x200bda(%rip) # 601020 <__isoc99_scanf@GLIBC_2.7> 400446: 68 01 00 00 00 pushq $0x1 40044b: e9 d0 ff ff ff jmpq 400420 <.plt> Disassembly of section .text: 0000000000400450 <_start>: 400450: 31 ed xor %ebp,%ebp 400452: 49 89 d1 mov %rdx,%r9 400455: 5e pop %rsi 400456: 48 89 e2 mov %rsp,%rdx 400459: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 40045d: 50 push %rax 40045e: 54 push %rsp 40045f: 49 c7 c0 30 06 40 00 mov $0x400630,%r8 400466: 48 c7 c1 c0 05 40 00 mov $0x4005c0,%rcx 40046d: 48 c7 c7 a0 05 40 00 mov $0x4005a0,%rdi 400474: ff 15 76 0b 20 00 callq *0x200b76(%rip) # 600ff0 <__libc_start_main@GLIBC_2.2.5> 40047a: f4 hlt 40047b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000400480 <_dl_relocate_static_pie>: 400480: f3 c3 repz retq 400482: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 400489: 00 00 00 40048c: 0f 1f 40 00 nopl 0x0(%rax) 0000000000400490 : 400490: 55 push %rbp 400491: b8 38 10 60 00 mov $0x601038,%eax 400496: 48 3d 38 10 60 00 cmp $0x601038,%rax 40049c: 48 89 e5 mov %rsp,%rbp 40049f: 74 17 je 4004b8 4004a1: b8 00 00 00 00 mov $0x0,%eax 4004a6: 48 85 c0 test %rax,%rax 4004a9: 74 0d je 4004b8 4004ab: 5d pop %rbp 4004ac: bf 38 10 60 00 mov $0x601038,%edi 4004b1: ff e0 jmpq *%rax 4004b3: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 4004b8: 5d pop %rbp 4004b9: c3 retq 4004ba: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 00000000004004c0 : 4004c0: be 38 10 60 00 mov $0x601038,%esi 4004c5: 55 push %rbp 4004c6: 48 81 ee 38 10 60 00 sub $0x601038,%rsi 4004cd: 48 89 e5 mov %rsp,%rbp 4004d0: 48 c1 fe 03 sar $0x3,%rsi 4004d4: 48 89 f0 mov %rsi,%rax 4004d7: 48 c1 e8 3f shr $0x3f,%rax 4004db: 48 01 c6 add %rax,%rsi 4004de: 48 d1 fe sar %rsi 4004e1: 74 15 je 4004f8 4004e3: b8 00 00 00 00 mov $0x0,%eax 4004e8: 48 85 c0 test %rax,%rax 4004eb: 74 0b je 4004f8 4004ed: 5d pop %rbp 4004ee: bf 38 10 60 00 mov $0x601038,%edi 4004f3: ff e0 jmpq *%rax 4004f5: 0f 1f 00 nopl (%rax) 4004f8: 5d pop %rbp 4004f9: c3 retq 4004fa: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 0000000000400500 <__do_global_dtors_aux>: 400500: 80 3d 31 0b 20 00 00 cmpb $0x0,0x200b31(%rip) # 601038 <__TMC_END__> 400507: 75 17 jne 400520 <__do_global_dtors_aux+0x20> 400509: 55 push %rbp 40050a: 48 89 e5 mov %rsp,%rbp 40050d: e8 7e ff ff ff callq 400490 400512: c6 05 1f 0b 20 00 01 movb $0x1,0x200b1f(%rip) # 601038 <__TMC_END__> 400519: 5d pop %rbp 40051a: c3 retq 40051b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 400520: f3 c3 repz retq 400522: 0f 1f 40 00 nopl 0x0(%rax) 400526: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 40052d: 00 00 00 0000000000400530 : 400530: 55 push %rbp 400531: 48 89 e5 mov %rsp,%rbp 400534: 5d pop %rbp 400535: eb 89 jmp 4004c0 400537: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 40053e: 00 00 0000000000400540 : 400540: 48 83 ec 18 sub $0x18,%rsp 400544: 48 b8 44 06 40 00 00 movabs $0x400644,%rax 40054b: 00 00 00 40054e: 48 89 7c 24 10 mov %rdi,0x10(%rsp) 400553: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 400558: 48 89 c7 mov %rax,%rdi 40055b: b0 00 mov $0x0,%al 40055d: e8 ce fe ff ff callq 400430 400562: 89 44 24 0c mov %eax,0xc(%rsp) 400566: 48 83 c4 18 add $0x18,%rsp 40056a: c3 retq 40056b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000400570 : 400570: 48 83 ec 78 sub $0x78,%rsp 400574: 48 bf 44 06 40 00 00 movabs $0x400644,%rdi 40057b: 00 00 00 40057e: 48 8d 74 24 10 lea 0x10(%rsp),%rsi 400583: b0 00 mov $0x0,%al 400585: e8 b6 fe ff ff callq 400440 <__isoc99_scanf@plt> 40058a: 48 8d 7c 24 10 lea 0x10(%rsp),%rdi 40058f: 89 44 24 0c mov %eax,0xc(%rsp) 400593: e8 a8 ff ff ff callq 400540 400598: 48 83 c4 78 add $0x78,%rsp 40059c: c3 retq 40059d: 0f 1f 00 nopl (%rax) 00000000004005a0
: 4005a0: 50 push %rax 4005a1: c7 44 24 04 00 00 00 movl $0x0,0x4(%rsp) 4005a8: 00 4005a9: e8 c2 ff ff ff callq 400570 4005ae: 31 c0 xor %eax,%eax 4005b0: 59 pop %rcx 4005b1: c3 retq 4005b2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 4005b9: 00 00 00 4005bc: 0f 1f 40 00 nopl 0x0(%rax) 00000000004005c0 <__libc_csu_init>: 4005c0: 41 57 push %r15 4005c2: 41 56 push %r14 4005c4: 49 89 d7 mov %rdx,%r15 4005c7: 41 55 push %r13 4005c9: 41 54 push %r12 4005cb: 4c 8d 25 3e 08 20 00 lea 0x20083e(%rip),%r12 # 600e10 <__frame_dummy_init_array_entry> 4005d2: 55 push %rbp 4005d3: 48 8d 2d 3e 08 20 00 lea 0x20083e(%rip),%rbp # 600e18 <__init_array_end> 4005da: 53 push %rbx 4005db: 41 89 fd mov %edi,%r13d 4005de: 49 89 f6 mov %rsi,%r14 4005e1: 4c 29 e5 sub %r12,%rbp 4005e4: 48 83 ec 08 sub $0x8,%rsp 4005e8: 48 c1 fd 03 sar $0x3,%rbp 4005ec: e8 17 fe ff ff callq 400408 <_init> 4005f1: 48 85 ed test %rbp,%rbp 4005f4: 74 20 je 400616 <__libc_csu_init+0x56> 4005f6: 31 db xor %ebx,%ebx 4005f8: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 4005ff: 00 400600: 4c 89 fa mov %r15,%rdx 400603: 4c 89 f6 mov %r14,%rsi 400606: 44 89 ef mov %r13d,%edi 400609: 41 ff 14 dc callq *(%r12,%rbx,8) 40060d: 48 83 c3 01 add $0x1,%rbx 400611: 48 39 dd cmp %rbx,%rbp 400614: 75 ea jne 400600 <__libc_csu_init+0x40> 400616: 48 83 c4 08 add $0x8,%rsp 40061a: 5b pop %rbx 40061b: 5d pop %rbp 40061c: 41 5c pop %r12 40061e: 41 5d pop %r13 400620: 41 5e pop %r14 400622: 41 5f pop %r15 400624: c3 retq 400625: 90 nop 400626: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 40062d: 00 00 00 0000000000400630 <__libc_csu_fini>: 400630: f3 c3 repz retq Disassembly of section .fini: 0000000000400634 <_fini>: 400634: 48 83 ec 08 sub $0x8,%rsp 400638: 48 83 c4 08 add $0x8,%rsp 40063c: c3 retq