a.out: file format elf64-x86-64 a.out architecture: i386:x86-64, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x000000000040053b Program Header: PHDR off 0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3 filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x INTERP off 0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0 filesz 0x000000000000001c memsz 0x000000000000001c flags r-- LOAD off 0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**21 filesz 0x000000000000082c memsz 0x000000000000082c flags r-x LOAD off 0x0000000000000e10 vaddr 0x0000000000600e10 paddr 0x0000000000600e10 align 2**21 filesz 0x0000000000000238 memsz 0x0000000000000240 flags rw- DYNAMIC off 0x0000000000000e28 vaddr 0x0000000000600e28 paddr 0x0000000000600e28 align 2**3 filesz 0x00000000000001d0 memsz 0x00000000000001d0 flags rw- NOTE off 0x0000000000000254 vaddr 0x0000000000400254 paddr 0x0000000000400254 align 2**2 filesz 0x0000000000000044 memsz 0x0000000000000044 flags r-- EH_FRAME off 0x00000000000006e0 vaddr 0x00000000004006e0 paddr 0x00000000004006e0 align 2**2 filesz 0x000000000000003c memsz 0x000000000000003c flags r-- STACK off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**4 filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw- RELRO off 0x0000000000000e10 vaddr 0x0000000000600e10 paddr 0x0000000000600e10 align 2**0 filesz 0x00000000000001f0 memsz 0x00000000000001f0 flags r-- Dynamic Section: NEEDED libc.so.6 INIT 0x0000000000400460 FINI 0x00000000004006c4 INIT_ARRAY 0x0000000000600e10 INIT_ARRAYSZ 0x0000000000000008 FINI_ARRAY 0x0000000000600e18 FINI_ARRAYSZ 0x0000000000000008 GNU_HASH 0x0000000000400298 STRTAB 0x0000000000400330 SYMTAB 0x00000000004002b8 STRSZ 0x000000000000006c SYMENT 0x0000000000000018 DEBUG 0x0000000000000000 PLTGOT 0x0000000000601000 PLTRELSZ 0x0000000000000060 PLTREL 0x0000000000000007 JMPREL 0x0000000000400400 RELA 0x00000000004003e8 RELASZ 0x0000000000000018 RELAENT 0x0000000000000018 VERNEED 0x00000000004003a8 VERNEEDNUM 0x0000000000000001 VERSYM 0x000000000040039c Version References: required from libc.so.6: 0x09691974 0x00 04 GLIBC_2.3.4 0x09691a75 0x00 03 GLIBC_2.2.5 0x0d696914 0x00 02 GLIBC_2.4 Sections: Idx Name Size VMA LMA File off Algn 0 .interp 0000001c 0000000000400238 0000000000400238 00000238 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .note.ABI-tag 00000020 0000000000400254 0000000000400254 00000254 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 2 .note.gnu.build-id 00000024 0000000000400274 0000000000400274 00000274 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .gnu.hash 0000001c 0000000000400298 0000000000400298 00000298 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 4 .dynsym 00000078 00000000004002b8 00000000004002b8 000002b8 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 5 .dynstr 0000006c 0000000000400330 0000000000400330 00000330 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .gnu.version 0000000a 000000000040039c 000000000040039c 0000039c 2**1 CONTENTS, ALLOC, LOAD, READONLY, DATA 7 .gnu.version_r 00000040 00000000004003a8 00000000004003a8 000003a8 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 8 .rela.dyn 00000018 00000000004003e8 00000000004003e8 000003e8 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 9 .rela.plt 00000060 0000000000400400 0000000000400400 00000400 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 10 .init 0000001a 0000000000400460 0000000000400460 00000460 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 11 .plt 00000050 0000000000400480 0000000000400480 00000480 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 12 .text 000001f2 00000000004004d0 00000000004004d0 000004d0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 13 .fini 00000009 00000000004006c4 00000000004006c4 000006c4 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 14 .rodata 0000000f 00000000004006d0 00000000004006d0 000006d0 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 15 .eh_frame_hdr 0000003c 00000000004006e0 00000000004006e0 000006e0 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 16 .eh_frame 0000010c 0000000000400720 0000000000400720 00000720 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 17 .init_array 00000008 0000000000600e10 0000000000600e10 00000e10 2**3 CONTENTS, ALLOC, LOAD, DATA 18 .fini_array 00000008 0000000000600e18 0000000000600e18 00000e18 2**3 CONTENTS, ALLOC, LOAD, DATA 19 .jcr 00000008 0000000000600e20 0000000000600e20 00000e20 2**3 CONTENTS, ALLOC, LOAD, DATA 20 .dynamic 000001d0 0000000000600e28 0000000000600e28 00000e28 2**3 CONTENTS, ALLOC, LOAD, DATA 21 .got 00000008 0000000000600ff8 0000000000600ff8 00000ff8 2**3 CONTENTS, ALLOC, LOAD, DATA 22 .got.plt 00000038 0000000000601000 0000000000601000 00001000 2**3 CONTENTS, ALLOC, LOAD, DATA 23 .data 00000010 0000000000601038 0000000000601038 00001038 2**3 CONTENTS, ALLOC, LOAD, DATA 24 .bss 00000008 0000000000601048 0000000000601048 00001048 2**0 ALLOC 25 .comment 00000056 0000000000000000 0000000000000000 00001048 2**0 CONTENTS, READONLY SYMBOL TABLE: 0000000000400238 l d .interp 0000000000000000 .interp 0000000000400254 l d .note.ABI-tag 0000000000000000 .note.ABI-tag 0000000000400274 l d .note.gnu.build-id 0000000000000000 .note.gnu.build-id 0000000000400298 l d .gnu.hash 0000000000000000 .gnu.hash 00000000004002b8 l d .dynsym 0000000000000000 .dynsym 0000000000400330 l d .dynstr 0000000000000000 .dynstr 000000000040039c l d .gnu.version 0000000000000000 .gnu.version 00000000004003a8 l d .gnu.version_r 0000000000000000 .gnu.version_r 00000000004003e8 l d .rela.dyn 0000000000000000 .rela.dyn 0000000000400400 l d .rela.plt 0000000000000000 .rela.plt 0000000000400460 l d .init 0000000000000000 .init 0000000000400480 l d .plt 0000000000000000 .plt 00000000004004d0 l d .text 0000000000000000 .text 00000000004006c4 l d .fini 0000000000000000 .fini 00000000004006d0 l d .rodata 0000000000000000 .rodata 00000000004006e0 l d .eh_frame_hdr 0000000000000000 .eh_frame_hdr 0000000000400720 l d .eh_frame 0000000000000000 .eh_frame 0000000000600e10 l d .init_array 0000000000000000 .init_array 0000000000600e18 l d .fini_array 0000000000000000 .fini_array 0000000000600e20 l d .jcr 0000000000000000 .jcr 0000000000600e28 l d .dynamic 0000000000000000 .dynamic 0000000000600ff8 l d .got 0000000000000000 .got 0000000000601000 l d .got.plt 0000000000000000 .got.plt 0000000000601038 l d .data 0000000000000000 .data 0000000000601048 l d .bss 0000000000000000 .bss 0000000000000000 l d .comment 0000000000000000 .comment 0000000000000000 l df *ABS* 0000000000000000 foo1.c 0000000000000000 l df *ABS* 0000000000000000 crtstuff.c 0000000000600e20 l O .jcr 0000000000000000 __JCR_LIST__ 0000000000400570 l F .text 0000000000000000 deregister_tm_clones 00000000004005a0 l F .text 0000000000000000 register_tm_clones 00000000004005e0 l F .text 0000000000000000 __do_global_dtors_aux 0000000000601048 l O .bss 0000000000000001 completed.6973 0000000000600e18 l O .fini_array 0000000000000000 __do_global_dtors_aux_fini_array_entry 0000000000400600 l F .text 0000000000000000 frame_dummy 0000000000600e10 l O .init_array 0000000000000000 __frame_dummy_init_array_entry 0000000000000000 l df *ABS* 0000000000000000 foo2.c 0000000000000000 l df *ABS* 0000000000000000 crtstuff.c 0000000000400828 l O .eh_frame 0000000000000000 __FRAME_END__ 0000000000600e20 l O .jcr 0000000000000000 __JCR_END__ 0000000000000000 l df *ABS* 0000000000000000 0000000000600e18 l .init_array 0000000000000000 __init_array_end 0000000000600e28 l O .dynamic 0000000000000000 _DYNAMIC 0000000000600e10 l .init_array 0000000000000000 __init_array_start 0000000000601000 l O .got.plt 0000000000000000 _GLOBAL_OFFSET_TABLE_ 00000000004006c0 g F .text 0000000000000002 __libc_csu_fini 0000000000000000 w *UND* 0000000000000000 _ITM_deregisterTMCloneTable 0000000000601038 w .data 0000000000000000 data_start 0000000000601048 g .data 0000000000000000 _edata 00000000004006c4 g F .fini 0000000000000000 _fini 0000000000000000 F *UND* 0000000000000000 __stack_chk_fail@@GLIBC_2.4 0000000000000000 F *UND* 0000000000000000 __libc_start_main@@GLIBC_2.2.5 0000000000601038 g .data 0000000000000000 __data_start 0000000000000000 w *UND* 0000000000000000 __gmon_start__ 0000000000601040 g O .data 0000000000000000 .hidden __dso_handle 00000000004006d0 g O .rodata 0000000000000004 _IO_stdin_used 0000000000400650 g F .text 0000000000000065 __libc_csu_init 0000000000400630 g F .text 000000000000001d foo 0000000000601050 g .bss 0000000000000000 _end 000000000040053b g F .text 0000000000000000 _start 0000000000601048 g .bss 0000000000000000 __bss_start 00000000004004d0 g F .text 000000000000006b main 0000000000000000 F *UND* 0000000000000000 __printf_chk@@GLIBC_2.3.4 0000000000000000 w *UND* 0000000000000000 _Jv_RegisterClasses 0000000000601048 g O .data 0000000000000000 .hidden __TMC_END__ 0000000000000000 w *UND* 0000000000000000 _ITM_registerTMCloneTable 0000000000400460 g F .init 0000000000000000 _init Contents of section .interp: 400238 2f6c6962 36342f6c 642d6c69 6e75782d /lib64/ld-linux- 400248 7838362d 36342e73 6f2e3200 x86-64.so.2. Contents of section .note.ABI-tag: 400254 04000000 10000000 01000000 474e5500 ............GNU. 400264 00000000 02000000 06000000 18000000 ................ Contents of section .note.gnu.build-id: 400274 04000000 14000000 03000000 474e5500 ............GNU. 400284 e7ba38ef 66b777cd 651b4387 09d73061 ..8.f.w.e.C...0a 400294 8a91c091 .... Contents of section .gnu.hash: 400298 01000000 01000000 01000000 00000000 ................ 4002a8 00000000 00000000 00000000 ............ Contents of section .dynsym: 4002b8 00000000 00000000 00000000 00000000 ................ 4002c8 00000000 00000000 18000000 12000000 ................ 4002d8 00000000 00000000 00000000 00000000 ................ 4002e8 29000000 12000000 00000000 00000000 )............... 4002f8 00000000 00000000 3b000000 20000000 ........;... ... 400308 00000000 00000000 00000000 00000000 ................ 400318 0b000000 12000000 00000000 00000000 ................ 400328 00000000 00000000 ........ Contents of section .dynstr: 400330 006c6962 632e736f 2e36005f 5f707269 .libc.so.6.__pri 400340 6e74665f 63686b00 5f5f7374 61636b5f ntf_chk.__stack_ 400350 63686b5f 6661696c 005f5f6c 6962635f chk_fail.__libc_ 400360 73746172 745f6d61 696e005f 5f676d6f start_main.__gmo 400370 6e5f7374 6172745f 5f00474c 4942435f n_start__.GLIBC_ 400380 322e332e 3400474c 4942435f 322e322e 2.3.4.GLIBC_2.2. 400390 3500474c 4942435f 322e3400 5.GLIBC_2.4. Contents of section .gnu.version: 40039c 00000200 03000000 0400 .......... Contents of section .gnu.version_r: 4003a8 01000300 01000000 10000000 00000000 ................ 4003b8 74196909 00000400 4a000000 10000000 t.i.....J....... 4003c8 751a6909 00000300 56000000 10000000 u.i.....V....... 4003d8 1469690d 00000200 62000000 00000000 .ii.....b....... Contents of section .rela.dyn: 4003e8 f80f6000 00000000 06000000 03000000 ..`............. 4003f8 00000000 00000000 ........ Contents of section .rela.plt: 400400 18106000 00000000 07000000 01000000 ..`............. 400410 00000000 00000000 20106000 00000000 ........ .`..... 400420 07000000 02000000 00000000 00000000 ................ 400430 28106000 00000000 07000000 03000000 (.`............. 400440 00000000 00000000 30106000 00000000 ........0.`..... 400450 07000000 04000000 00000000 00000000 ................ Contents of section .init: 400460 4883ec08 488b058d 0b200048 85c07405 H...H.... .H..t. 400470 e83b0000 004883c4 08c3 .;...H.... Contents of section .plt: 400480 ff35820b 2000ff25 840b2000 0f1f4000 .5.. ..%.. ...@. 400490 ff25820b 20006800 000000e9 e0ffffff .%.. .h......... 4004a0 ff257a0b 20006801 000000e9 d0ffffff .%z. .h......... 4004b0 ff25720b 20006802 000000e9 c0ffffff .%r. .h......... 4004c0 ff256a0b 20006803 000000e9 b0ffffff .%j. .h......... Contents of section .text: 4004d0 4883ec28 ba050000 00be0c00 00004889 H..(..........H. 4004e0 e764488b 04252800 00004889 44241831 .dH..%(...H.D$.1 4004f0 c0e83a01 0000488d 74240c48 89e031d2 ..:...H.t$.H..1. 400500 0fbe0848 83c00101 ca4839f0 75f2bf01 ...H.....H9.u... 400510 00000031 c0bed406 4000e8a1 ffffff31 ...1....@......1 400520 c0488b7c 24186448 333c2528 00000075 .H.|$.dH3<%(...u 400530 054883c4 28c3e855 ffffff31 ed4989d1 .H..(..U...1.I.. 400540 5e4889e2 4883e4f0 505449c7 c0c00640 ^H..H...PTI....@ 400550 0048c7c1 50064000 48c7c7d0 044000e8 .H..P.@.H....@.. 400560 3cffffff f4662e0f 1f840000 00000090 <....f.......... 400570 b84f1060 0055482d 48106000 4883f80e .O.`.UH-H.`.H... 400580 4889e577 025dc3b8 00000000 4885c074 H..w.]......H..t 400590 f45dbf48 106000ff e00f1f80 00000000 .].H.`.......... 4005a0 b8481060 0055482d 48106000 48c1f803 .H.`.UH-H.`.H... 4005b0 4889e548 89c248c1 ea3f4801 d048d1f8 H..H..H..?H..H.. 4005c0 75025dc3 ba000000 004885d2 74f45d48 u.]......H..t.]H 4005d0 89c6bf48 106000ff e20f1f80 00000000 ...H.`.......... 4005e0 803d610a 20000075 11554889 e5e87eff .=a. ..u.UH...~. 4005f0 ffff5dc6 054e0a20 0001f3c3 0f1f4000 ..]..N. ......@. 400600 48833d18 08200000 741eb800 00000048 H.=.. ..t......H 400610 85c07414 55bf200e 60004889 e5ffd05d ..t.U. .`.H....] 400620 e97bffff ff0f1f00 e973ffff ff0f1f00 .{.......s...... 400630 31c985f6 89f07e13 0f1f8400 00000000 1.....~......... 400640 88140f48 83c10139 c87ff5f3 c30f1f00 ...H...9........ 400650 41574189 ff415649 89f64155 4989d541 AWA..AVI..AUI..A 400660 544c8d25 a8072000 55488d2d a8072000 TL.%.. .UH.-.. . 400670 534c29e5 31db48c1 fd034883 ec08e8dd SL).1.H...H..... 400680 fdffff48 85ed741e 0f1f8400 00000000 ...H..t......... 400690 4c89ea4c 89f64489 ff41ff14 dc4883c3 L..L..D..A...H.. 4006a0 014839eb 75ea4883 c4085b5d 415c415d .H9.u.H...[]A\A] 4006b0 415e415f c366662e 0f1f8400 00000000 A^A_.ff......... 4006c0 f3c3 .. Contents of section .fini: 4006c4 4883ec08 4883c408 c3 H...H.... Contents of section .rodata: 4006d0 01000200 53756d20 69732025 640a00 ....Sum is %d.. Contents of section .eh_frame_hdr: 4006e0 011b033b 3c000000 06000000 a0fdffff ...;<........... 4006f0 88000000 f0fdffff b0000000 5bfeffff ............[... 400700 58000000 50ffffff d0000000 70ffffff X...P.......p... 400710 e8000000 e0ffffff 30010000 ........0... Contents of section .eh_frame: 400720 14000000 00000000 017a5200 01781001 .........zR..x.. 400730 1b0c0708 90010710 14000000 1c000000 ................ 400740 fbfdffff 2a000000 00000000 00000000 ....*........... 400750 14000000 00000000 017a5200 01781001 .........zR..x.. 400760 1b0c0708 90010000 24000000 1c000000 ........$....... 400770 10fdffff 50000000 000e1046 0e184a0f ....P......F..J. 400780 0b770880 003f1a3b 2a332422 00000000 .w...?.;*3$".... 400790 1c000000 44000000 38fdffff 6b000000 ....D...8...k... 4007a0 00440e30 02610a0e 08410b00 00000000 .D.0.a...A...... 4007b0 14000000 64000000 78feffff 1d000000 ....d...x....... 4007c0 00000000 00000000 44000000 7c000000 ........D...|... 4007d0 80feffff 65000000 00420e10 8f02450e ....e....B....E. 4007e0 188e0345 0e208d04 450e288c 05480e30 ...E. ..E.(..H.0 4007f0 8606480e 3883074d 0e406c0e 38410e30 ..H.8..M.@l.8A.0 400800 410e2842 0e20420e 18420e10 420e0800 A.(B. B..B..B... 400810 14000000 c4000000 a8feffff 02000000 ................ 400820 00000000 00000000 00000000 ............ Contents of section .init_array: 600e10 00064000 00000000 ..@..... Contents of section .fini_array: 600e18 e0054000 00000000 ..@..... Contents of section .jcr: 600e20 00000000 00000000 ........ Contents of section .dynamic: 600e28 01000000 00000000 01000000 00000000 ................ 600e38 0c000000 00000000 60044000 00000000 ........`.@..... 600e48 0d000000 00000000 c4064000 00000000 ..........@..... 600e58 19000000 00000000 100e6000 00000000 ..........`..... 600e68 1b000000 00000000 08000000 00000000 ................ 600e78 1a000000 00000000 180e6000 00000000 ..........`..... 600e88 1c000000 00000000 08000000 00000000 ................ 600e98 f5feff6f 00000000 98024000 00000000 ...o......@..... 600ea8 05000000 00000000 30034000 00000000 ........0.@..... 600eb8 06000000 00000000 b8024000 00000000 ..........@..... 600ec8 0a000000 00000000 6c000000 00000000 ........l....... 600ed8 0b000000 00000000 18000000 00000000 ................ 600ee8 15000000 00000000 00000000 00000000 ................ 600ef8 03000000 00000000 00106000 00000000 ..........`..... 600f08 02000000 00000000 60000000 00000000 ........`....... 600f18 14000000 00000000 07000000 00000000 ................ 600f28 17000000 00000000 00044000 00000000 ..........@..... 600f38 07000000 00000000 e8034000 00000000 ..........@..... 600f48 08000000 00000000 18000000 00000000 ................ 600f58 09000000 00000000 18000000 00000000 ................ 600f68 feffff6f 00000000 a8034000 00000000 ...o......@..... 600f78 ffffff6f 00000000 01000000 00000000 ...o............ 600f88 f0ffff6f 00000000 9c034000 00000000 ...o......@..... 600f98 00000000 00000000 00000000 00000000 ................ 600fa8 00000000 00000000 00000000 00000000 ................ 600fb8 00000000 00000000 00000000 00000000 ................ 600fc8 00000000 00000000 00000000 00000000 ................ 600fd8 00000000 00000000 00000000 00000000 ................ 600fe8 00000000 00000000 00000000 00000000 ................ Contents of section .got: 600ff8 00000000 00000000 ........ Contents of section .got.plt: 601000 280e6000 00000000 00000000 00000000 (.`............. 601010 00000000 00000000 96044000 00000000 ..........@..... 601020 a6044000 00000000 b6044000 00000000 ..@.......@..... 601030 c6044000 00000000 ..@..... Contents of section .data: 601038 00000000 00000000 00000000 00000000 ................ Contents of section .comment: 0000 4743433a 20285562 756e7475 20342e38 GCC: (Ubuntu 4.8 0010 2e352d32 7562756e 7475317e 31342e30 .5-2ubuntu1~14.0 0020 342e3129 20342e38 2e350047 43433a20 4.1) 4.8.5.GCC: 0030 28556275 6e747520 342e382e 342d3275 (Ubuntu 4.8.4-2u 0040 62756e74 75317e31 342e3034 2e332920 buntu1~14.04.3) 0050 342e382e 3400 4.8.4. Disassembly of section .init: 0000000000400460 <_init>: 400460: 48 83 ec 08 sub $0x8,%rsp 400464: 48 8b 05 8d 0b 20 00 mov 0x200b8d(%rip),%rax # 600ff8 <_DYNAMIC+0x1d0> 40046b: 48 85 c0 test %rax,%rax 40046e: 74 05 je 400475 <_init+0x15> 400470: e8 3b 00 00 00 callq 4004b0 <__gmon_start__@plt> 400475: 48 83 c4 08 add $0x8,%rsp 400479: c3 retq Disassembly of section .plt: 0000000000400480 <__stack_chk_fail@plt-0x10>: 400480: ff 35 82 0b 20 00 pushq 0x200b82(%rip) # 601008 <_GLOBAL_OFFSET_TABLE_+0x8> 400486: ff 25 84 0b 20 00 jmpq *0x200b84(%rip) # 601010 <_GLOBAL_OFFSET_TABLE_+0x10> 40048c: 0f 1f 40 00 nopl 0x0(%rax) 0000000000400490 <__stack_chk_fail@plt>: 400490: ff 25 82 0b 20 00 jmpq *0x200b82(%rip) # 601018 <_GLOBAL_OFFSET_TABLE_+0x18> 400496: 68 00 00 00 00 pushq $0x0 40049b: e9 e0 ff ff ff jmpq 400480 <_init+0x20> 00000000004004a0 <__libc_start_main@plt>: 4004a0: ff 25 7a 0b 20 00 jmpq *0x200b7a(%rip) # 601020 <_GLOBAL_OFFSET_TABLE_+0x20> 4004a6: 68 01 00 00 00 pushq $0x1 4004ab: e9 d0 ff ff ff jmpq 400480 <_init+0x20> 00000000004004b0 <__gmon_start__@plt>: 4004b0: ff 25 72 0b 20 00 jmpq *0x200b72(%rip) # 601028 <_GLOBAL_OFFSET_TABLE_+0x28> 4004b6: 68 02 00 00 00 pushq $0x2 4004bb: e9 c0 ff ff ff jmpq 400480 <_init+0x20> 00000000004004c0 <__printf_chk@plt>: 4004c0: ff 25 6a 0b 20 00 jmpq *0x200b6a(%rip) # 601030 <_GLOBAL_OFFSET_TABLE_+0x30> 4004c6: 68 03 00 00 00 pushq $0x3 4004cb: e9 b0 ff ff ff jmpq 400480 <_init+0x20> Disassembly of section .text: 00000000004004d0
: 4004d0: 48 83 ec 28 sub $0x28,%rsp 4004d4: ba 05 00 00 00 mov $0x5,%edx 4004d9: be 0c 00 00 00 mov $0xc,%esi 4004de: 48 89 e7 mov %rsp,%rdi 4004e1: 64 48 8b 04 25 28 00 mov %fs:0x28,%rax 4004e8: 00 00 4004ea: 48 89 44 24 18 mov %rax,0x18(%rsp) 4004ef: 31 c0 xor %eax,%eax 4004f1: e8 3a 01 00 00 callq 400630 4004f6: 48 8d 74 24 0c lea 0xc(%rsp),%rsi 4004fb: 48 89 e0 mov %rsp,%rax 4004fe: 31 d2 xor %edx,%edx 400500: 0f be 08 movsbl (%rax),%ecx 400503: 48 83 c0 01 add $0x1,%rax 400507: 01 ca add %ecx,%edx 400509: 48 39 f0 cmp %rsi,%rax 40050c: 75 f2 jne 400500 40050e: bf 01 00 00 00 mov $0x1,%edi 400513: 31 c0 xor %eax,%eax 400515: be d4 06 40 00 mov $0x4006d4,%esi 40051a: e8 a1 ff ff ff callq 4004c0 <__printf_chk@plt> 40051f: 31 c0 xor %eax,%eax 400521: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi 400526: 64 48 33 3c 25 28 00 xor %fs:0x28,%rdi 40052d: 00 00 40052f: 75 05 jne 400536 400531: 48 83 c4 28 add $0x28,%rsp 400535: c3 retq 400536: e8 55 ff ff ff callq 400490 <__stack_chk_fail@plt> 000000000040053b <_start>: 40053b: 31 ed xor %ebp,%ebp 40053d: 49 89 d1 mov %rdx,%r9 400540: 5e pop %rsi 400541: 48 89 e2 mov %rsp,%rdx 400544: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 400548: 50 push %rax 400549: 54 push %rsp 40054a: 49 c7 c0 c0 06 40 00 mov $0x4006c0,%r8 400551: 48 c7 c1 50 06 40 00 mov $0x400650,%rcx 400558: 48 c7 c7 d0 04 40 00 mov $0x4004d0,%rdi 40055f: e8 3c ff ff ff callq 4004a0 <__libc_start_main@plt> 400564: f4 hlt 400565: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 40056c: 00 00 00 40056f: 90 nop 0000000000400570 : 400570: b8 4f 10 60 00 mov $0x60104f,%eax 400575: 55 push %rbp 400576: 48 2d 48 10 60 00 sub $0x601048,%rax 40057c: 48 83 f8 0e cmp $0xe,%rax 400580: 48 89 e5 mov %rsp,%rbp 400583: 77 02 ja 400587 400585: 5d pop %rbp 400586: c3 retq 400587: b8 00 00 00 00 mov $0x0,%eax 40058c: 48 85 c0 test %rax,%rax 40058f: 74 f4 je 400585 400591: 5d pop %rbp 400592: bf 48 10 60 00 mov $0x601048,%edi 400597: ff e0 jmpq *%rax 400599: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 00000000004005a0 : 4005a0: b8 48 10 60 00 mov $0x601048,%eax 4005a5: 55 push %rbp 4005a6: 48 2d 48 10 60 00 sub $0x601048,%rax 4005ac: 48 c1 f8 03 sar $0x3,%rax 4005b0: 48 89 e5 mov %rsp,%rbp 4005b3: 48 89 c2 mov %rax,%rdx 4005b6: 48 c1 ea 3f shr $0x3f,%rdx 4005ba: 48 01 d0 add %rdx,%rax 4005bd: 48 d1 f8 sar %rax 4005c0: 75 02 jne 4005c4 4005c2: 5d pop %rbp 4005c3: c3 retq 4005c4: ba 00 00 00 00 mov $0x0,%edx 4005c9: 48 85 d2 test %rdx,%rdx 4005cc: 74 f4 je 4005c2 4005ce: 5d pop %rbp 4005cf: 48 89 c6 mov %rax,%rsi 4005d2: bf 48 10 60 00 mov $0x601048,%edi 4005d7: ff e2 jmpq *%rdx 4005d9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 00000000004005e0 <__do_global_dtors_aux>: 4005e0: 80 3d 61 0a 20 00 00 cmpb $0x0,0x200a61(%rip) # 601048 <__TMC_END__> 4005e7: 75 11 jne 4005fa <__do_global_dtors_aux+0x1a> 4005e9: 55 push %rbp 4005ea: 48 89 e5 mov %rsp,%rbp 4005ed: e8 7e ff ff ff callq 400570 4005f2: 5d pop %rbp 4005f3: c6 05 4e 0a 20 00 01 movb $0x1,0x200a4e(%rip) # 601048 <__TMC_END__> 4005fa: f3 c3 repz retq 4005fc: 0f 1f 40 00 nopl 0x0(%rax) 0000000000400600 : 400600: 48 83 3d 18 08 20 00 cmpq $0x0,0x200818(%rip) # 600e20 <__JCR_END__> 400607: 00 400608: 74 1e je 400628 40060a: b8 00 00 00 00 mov $0x0,%eax 40060f: 48 85 c0 test %rax,%rax 400612: 74 14 je 400628 400614: 55 push %rbp 400615: bf 20 0e 60 00 mov $0x600e20,%edi 40061a: 48 89 e5 mov %rsp,%rbp 40061d: ff d0 callq *%rax 40061f: 5d pop %rbp 400620: e9 7b ff ff ff jmpq 4005a0 400625: 0f 1f 00 nopl (%rax) 400628: e9 73 ff ff ff jmpq 4005a0 40062d: 0f 1f 00 nopl (%rax) 0000000000400630 : 400630: 31 c9 xor %ecx,%ecx 400632: 85 f6 test %esi,%esi 400634: 89 f0 mov %esi,%eax 400636: 7e 13 jle 40064b 400638: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 40063f: 00 400640: 88 14 0f mov %dl,(%rdi,%rcx,1) 400643: 48 83 c1 01 add $0x1,%rcx 400647: 39 c8 cmp %ecx,%eax 400649: 7f f5 jg 400640 40064b: f3 c3 repz retq 40064d: 0f 1f 00 nopl (%rax) 0000000000400650 <__libc_csu_init>: 400650: 41 57 push %r15 400652: 41 89 ff mov %edi,%r15d 400655: 41 56 push %r14 400657: 49 89 f6 mov %rsi,%r14 40065a: 41 55 push %r13 40065c: 49 89 d5 mov %rdx,%r13 40065f: 41 54 push %r12 400661: 4c 8d 25 a8 07 20 00 lea 0x2007a8(%rip),%r12 # 600e10 <__frame_dummy_init_array_entry> 400668: 55 push %rbp 400669: 48 8d 2d a8 07 20 00 lea 0x2007a8(%rip),%rbp # 600e18 <__init_array_end> 400670: 53 push %rbx 400671: 4c 29 e5 sub %r12,%rbp 400674: 31 db xor %ebx,%ebx 400676: 48 c1 fd 03 sar $0x3,%rbp 40067a: 48 83 ec 08 sub $0x8,%rsp 40067e: e8 dd fd ff ff callq 400460 <_init> 400683: 48 85 ed test %rbp,%rbp 400686: 74 1e je 4006a6 <__libc_csu_init+0x56> 400688: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 40068f: 00 400690: 4c 89 ea mov %r13,%rdx 400693: 4c 89 f6 mov %r14,%rsi 400696: 44 89 ff mov %r15d,%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: 75 ea jne 400690 <__libc_csu_init+0x40> 4006a6: 48 83 c4 08 add $0x8,%rsp 4006aa: 5b pop %rbx 4006ab: 5d pop %rbp 4006ac: 41 5c pop %r12 4006ae: 41 5d pop %r13 4006b0: 41 5e pop %r14 4006b2: 41 5f pop %r15 4006b4: c3 retq 4006b5: 66 66 2e 0f 1f 84 00 data32 nopw %cs:0x0(%rax,%rax,1) 4006bc: 00 00 00 00 00000000004006c0 <__libc_csu_fini>: 4006c0: f3 c3 repz retq Disassembly of section .fini: 00000000004006c4 <_fini>: 4006c4: 48 83 ec 08 sub $0x8,%rsp 4006c8: 48 83 c4 08 add $0x8,%rsp 4006cc: c3 retq