ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x4003c0 Start of program headers: 64 (bytes into file) Start of section headers: 2712 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 8 Size of section headers: 64 (bytes) Number of section headers: 29 Section header string table index: 26 Section Headers: [Nr] Name Type Address Offset Link Size EntSize Info Align Flags [ 0] NULL 0000000000000000 0000000000000000 0 0000000000000000 0000000000000000 0 0 [0000000000000000]: [ 1] .interp PROGBITS 0000000000400200 0000000000000200 0 000000000000001c 0000000000000000 0 1 [0000000000000002]: ALLOC [ 2] .note.ABI-tag NOTE 000000000040021c 000000000000021c 0 0000000000000020 0000000000000000 0 4 [0000000000000002]: ALLOC [ 3] .gnu.hash GNU_HASH 0000000000400240 0000000000000240 4 000000000000001c 0000000000000000 0 8 [0000000000000002]: ALLOC [ 4] .dynsym DYNSYM 0000000000400260 0000000000000260 5 0000000000000060 0000000000000018 1 8 [0000000000000002]: ALLOC [ 5] .dynstr STRTAB 00000000004002c0 00000000000002c0 0 000000000000003f 0000000000000000 0 1 [0000000000000002]: ALLOC [ 6] .gnu.version VERSYM 0000000000400300 0000000000000300 4 0000000000000008 0000000000000002 0 2 [0000000000000002]: ALLOC [ 7] .gnu.version_r VERNEED 0000000000400308 0000000000000308 5 0000000000000020 0000000000000000 1 8 [0000000000000002]: ALLOC [ 8] .rela.dyn RELA 0000000000400328 0000000000000328 4 0000000000000018 0000000000000018 0 8 [0000000000000002]: ALLOC [ 9] .rela.plt RELA 0000000000400340 0000000000000340 4 0000000000000030 0000000000000018 11 8 [0000000000000002]: ALLOC [10] .init PROGBITS 0000000000400370 0000000000000370 0 0000000000000018 0000000000000000 0 4 [0000000000000006]: ALLOC, EXEC [11] .plt PROGBITS 0000000000400388 0000000000000388 0 0000000000000030 0000000000000010 0 4 [0000000000000006]: ALLOC, EXEC [12] .text PROGBITS 00000000004003c0 00000000000003c0 0 00000000000001f8 0000000000000000 0 16 [0000000000000006]: ALLOC, EXEC [13] .fini PROGBITS 00000000004005b8 00000000000005b8 0 000000000000000e 0000000000000000 0 4 [0000000000000006]: ALLOC, EXEC [14] .rodata PROGBITS 00000000004005c8 00000000000005c8 0 000000000000001e 0000000000000000 0 8 [0000000000000002]: ALLOC [15] .eh_frame_hdr PROGBITS 00000000004005e8 00000000000005e8 0 0000000000000024 0000000000000000 0 4 [0000000000000002]: ALLOC [16] .eh_frame PROGBITS 0000000000400610 0000000000000610 0 0000000000000094 0000000000000000 0 8 [0000000000000002]: ALLOC [17] .ctors PROGBITS 00000000006006a8 00000000000006a8 0 0000000000000010 0000000000000000 0 8 [0000000000000003]: WRITE, ALLOC [18] .dtors PROGBITS 00000000006006b8 00000000000006b8 0 0000000000000010 0000000000000000 0 8 [0000000000000003]: WRITE, ALLOC [19] .jcr PROGBITS 00000000006006c8 00000000000006c8 0 0000000000000008 0000000000000000 0 8 [0000000000000003]: WRITE, ALLOC [20] .dynamic DYNAMIC 00000000006006d0 00000000000006d0 5 0000000000000190 0000000000000010 0 8 [0000000000000003]: WRITE, ALLOC [21] .got PROGBITS 0000000000600860 0000000000000860 0 0000000000000008 0000000000000008 0 8 [0000000000000003]: WRITE, ALLOC [22] .got.plt PROGBITS 0000000000600868 0000000000000868 0 0000000000000028 0000000000000008 0 8 [0000000000000003]: WRITE, ALLOC [23] .data PROGBITS 0000000000600890 0000000000000890 0 0000000000000004 0000000000000000 0 4 [0000000000000003]: WRITE, ALLOC [24] .bss NOBITS 0000000000600898 0000000000000894 0 0000000000000010 0000000000000000 0 8 [0000000000000003]: WRITE, ALLOC [25] .comment PROGBITS 0000000000000000 0000000000000894 0 0000000000000114 0000000000000000 0 1 [0000000000000000]: [26] .shstrtab STRTAB 0000000000000000 00000000000009a8 0 00000000000000eb 0000000000000000 0 1 [0000000000000000]: [27] .symtab SYMTAB 0000000000000000 00000000000011d8 28 00000000000005e8 0000000000000018 45 8 [0000000000000000]: [28] .strtab STRTAB 0000000000000000 00000000000017c0 0 00000000000001f3 0000000000000000 0 1 [0000000000000000]: There are no section groups in this file. Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align PHDR 0x0000000000000040 0x0000000000400040 0x0000000000400040 0x00000000000001c0 0x00000000000001c0 R E 8 INTERP 0x0000000000000200 0x0000000000400200 0x0000000000400200 0x000000000000001c 0x000000000000001c R 1 [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2] LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 0x00000000000006a4 0x00000000000006a4 R E 200000 LOAD 0x00000000000006a8 0x00000000006006a8 0x00000000006006a8 0x00000000000001ec 0x0000000000000200 RW 200000 DYNAMIC 0x00000000000006d0 0x00000000006006d0 0x00000000006006d0 0x0000000000000190 0x0000000000000190 RW 8 NOTE 0x000000000000021c 0x000000000040021c 0x000000000040021c 0x0000000000000020 0x0000000000000020 R 4 GNU_EH_FRAME 0x00000000000005e8 0x00000000004005e8 0x00000000004005e8 0x0000000000000024 0x0000000000000024 R 4 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 8 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 04 .dynamic 05 .note.ABI-tag 06 .eh_frame_hdr 07 Dynamic section at offset 0x6d0 contains 20 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000c (INIT) 0x400370 0x000000000000000d (FINI) 0x4005b8 0x000000006ffffef5 (GNU_HASH) 0x400240 0x0000000000000005 (STRTAB) 0x4002c0 0x0000000000000006 (SYMTAB) 0x400260 0x000000000000000a (STRSZ) 63 (bytes) 0x000000000000000b (SYMENT) 24 (bytes) 0x0000000000000015 (DEBUG) 0x0 0x0000000000000003 (PLTGOT) 0x600868 0x0000000000000002 (PLTRELSZ) 48 (bytes) 0x0000000000000014 (PLTREL) RELA 0x0000000000000017 (JMPREL) 0x400340 0x0000000000000007 (RELA) 0x400328 0x0000000000000008 (RELASZ) 24 (bytes) 0x0000000000000009 (RELAENT) 24 (bytes) 0x000000006ffffffe (VERNEED) 0x400308 0x000000006fffffff (VERNEEDNUM) 1 0x000000006ffffff0 (VERSYM) 0x400300 0x0000000000000000 (NULL) 0x0 Relocation section '.rela.dyn' at offset 0x328 contains 1 entries: Offset Info Type Sym. Value Sym. Name + Addend 000000600860 000200000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0 Relocation section '.rela.plt' at offset 0x340 contains 2 entries: Offset Info Type Sym. Value Sym. Name + Addend 000000600880 000100000007 R_X86_64_JUMP_SLO 0000000000000000 printf + 0 000000600888 000300000007 R_X86_64_JUMP_SLO 0000000000000000 __libc_start_main + 0 There are no unwind sections in this file. Symbol table '.dynsym' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 1: 0000000000000000 162 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.2.5 (2) 2: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 3: 0000000000000000 450 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.2.5 (2) Symbol table '.symtab' contains 63 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 1: 0000000000400200 0 SECTION LOCAL DEFAULT 1 2: 000000000040021c 0 SECTION LOCAL DEFAULT 2 3: 0000000000400240 0 SECTION LOCAL DEFAULT 3 4: 0000000000400260 0 SECTION LOCAL DEFAULT 4 5: 00000000004002c0 0 SECTION LOCAL DEFAULT 5 6: 0000000000400300 0 SECTION LOCAL DEFAULT 6 7: 0000000000400308 0 SECTION LOCAL DEFAULT 7 8: 0000000000400328 0 SECTION LOCAL DEFAULT 8 9: 0000000000400340 0 SECTION LOCAL DEFAULT 9 10: 0000000000400370 0 SECTION LOCAL DEFAULT 10 11: 0000000000400388 0 SECTION LOCAL DEFAULT 11 12: 00000000004003c0 0 SECTION LOCAL DEFAULT 12 13: 00000000004005b8 0 SECTION LOCAL DEFAULT 13 14: 00000000004005c8 0 SECTION LOCAL DEFAULT 14 15: 00000000004005e8 0 SECTION LOCAL DEFAULT 15 16: 0000000000400610 0 SECTION LOCAL DEFAULT 16 17: 00000000006006a8 0 SECTION LOCAL DEFAULT 17 18: 00000000006006b8 0 SECTION LOCAL DEFAULT 18 19: 00000000006006c8 0 SECTION LOCAL DEFAULT 19 20: 00000000006006d0 0 SECTION LOCAL DEFAULT 20 21: 0000000000600860 0 SECTION LOCAL DEFAULT 21 22: 0000000000600868 0 SECTION LOCAL DEFAULT 22 23: 0000000000600890 0 SECTION LOCAL DEFAULT 23 24: 0000000000600898 0 SECTION LOCAL DEFAULT 24 25: 0000000000000000 0 SECTION LOCAL DEFAULT 25 26: 00000000004003ec 0 FUNC LOCAL DEFAULT 12 call_gmon_start 27: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 28: 00000000006006a8 0 OBJECT LOCAL DEFAULT 17 __CTOR_LIST__ 29: 00000000006006b8 0 OBJECT LOCAL DEFAULT 18 __DTOR_LIST__ 30: 00000000006006c8 0 OBJECT LOCAL DEFAULT 19 __JCR_LIST__ 31: 0000000000600898 8 OBJECT LOCAL DEFAULT 24 dtor_idx.6202 32: 00000000006008a0 1 OBJECT LOCAL DEFAULT 24 completed.6200 33: 0000000000400410 0 FUNC LOCAL DEFAULT 12 __do_global_dtors_aux 34: 0000000000400470 0 FUNC LOCAL DEFAULT 12 frame_dummy 35: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 36: 00000000006006b0 0 OBJECT LOCAL DEFAULT 17 __CTOR_END__ 37: 00000000004006a0 0 OBJECT LOCAL DEFAULT 16 __FRAME_END__ 38: 00000000006006c8 0 OBJECT LOCAL DEFAULT 19 __JCR_END__ 39: 0000000000400580 0 FUNC LOCAL DEFAULT 12 __do_global_ctors_aux 40: 0000000000000000 0 FILE LOCAL DEFAULT ABS test1.c 41: 0000000000600868 0 OBJECT LOCAL HIDDEN 22 _GLOBAL_OFFSET_TABLE_ 42: 00000000006006a4 0 NOTYPE LOCAL HIDDEN 17 __init_array_end 43: 00000000006006a4 0 NOTYPE LOCAL HIDDEN 17 __init_array_start 44: 00000000006006d0 0 OBJECT LOCAL HIDDEN 20 _DYNAMIC 45: 0000000000600890 0 NOTYPE WEAK DEFAULT 23 data_start 46: 0000000000000000 162 FUNC GLOBAL DEFAULT UND printf@@GLIBC_2.2.5 47: 00000000004004e0 2 FUNC GLOBAL DEFAULT 12 __libc_csu_fini 48: 00000000004003c0 0 FUNC GLOBAL DEFAULT 12 _start 49: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 50: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 51: 00000000004005b8 0 FUNC GLOBAL DEFAULT 13 _fini 52: 0000000000000000 450 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_ 53: 00000000004005c8 4 OBJECT GLOBAL DEFAULT 14 _IO_stdin_used 54: 0000000000600890 0 NOTYPE GLOBAL DEFAULT 23 __data_start 55: 00000000004005d0 0 OBJECT GLOBAL HIDDEN 14 __dso_handle 56: 00000000006006c0 0 OBJECT GLOBAL HIDDEN 18 __DTOR_END__ 57: 00000000004004f0 139 FUNC GLOBAL DEFAULT 12 __libc_csu_init 58: 0000000000600894 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 59: 00000000006008a8 0 NOTYPE GLOBAL DEFAULT ABS _end 60: 0000000000600894 0 NOTYPE GLOBAL DEFAULT ABS _edata 61: 0000000000400498 62 FUNC GLOBAL DEFAULT 12 main 62: 0000000000400370 0 FUNC GLOBAL DEFAULT 10 _init Version symbols section '.gnu.version' contains 4 entries: Addr: 0000000000400300 Offset: 0x000300 Link: 4 (.dynsym) 000: 0 (*local*) 2 (GLIBC_2.2.5) 0 (*local*) 2 (GLIBC_2.2.5) Version needs section '.gnu.version_r' contains 1 entries: Addr: 0x0000000000400308 Offset: 0x000308 Link to section: 5 (.dynstr) 000000: Version: 1 File: libc.so.6 Cnt: 1 0x0010: Name: GLIBC_2.2.5 Flags: none Version: 2 Notes at offset 0x0000021c with length 0x00000020: Owner Data size Description GNU 0x00000010 NT_VERSION (version)