1ELF Header: 2 Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 3 Class: ELF64 4 Data: 2's complement, little endian 5 Version: 1 (current) 6 OS/ABI: UNIX - System V 7 ABI Version: 0 8 Type: EXEC (Executable file) 9 Machine: Advanced Micro Devices X86-64 10 Version: 0x1 11 Entry point address: 0x4003c0 12 Start of program headers: 64 (bytes into file) 13 Start of section headers: 2656 (bytes into file) 14 Flags: 0x0 15 Size of this header: 64 (bytes) 16 Size of program headers: 56 (bytes) 17 Number of program headers: 8 18 Size of section headers: 64 (bytes) 19 Number of section headers: 29 20 Section header string table index: 26 21 22Section Headers: 23 [Nr] Name Type Address Offset 24 Size EntSize Flags Link Info Align 25 [ 0] NULL 0000000000000000 00000000 26 0000000000000000 0000000000000000 0 0 0 27 [ 1] .interp PROGBITS 0000000000400200 00000200 28 000000000000001c 0000000000000000 A 0 0 1 29 [ 2] .note.ABI-tag NOTE 000000000040021c 0000021c 30 0000000000000020 0000000000000000 A 0 0 4 31 [ 3] .gnu.hash GNU_HASH 0000000000400240 00000240 32 000000000000001c 0000000000000000 A 4 0 8 33 [ 4] .dynsym DYNSYM 0000000000400260 00000260 34 0000000000000060 0000000000000018 A 5 1 8 35 [ 5] .dynstr STRTAB 00000000004002c0 000002c0 36 000000000000003d 0000000000000000 A 0 0 1 37 [ 6] .gnu.version VERSYM 00000000004002fe 000002fe 38 0000000000000008 0000000000000002 A 4 0 2 39 [ 7] .gnu.version_r VERNEED 0000000000400308 00000308 40 0000000000000020 0000000000000000 A 5 1 8 41 [ 8] .rela.dyn RELA 0000000000400328 00000328 42 0000000000000018 0000000000000018 A 4 0 8 43 [ 9] .rela.plt RELA 0000000000400340 00000340 44 0000000000000030 0000000000000018 A 4 11 8 45 [10] .init PROGBITS 0000000000400370 00000370 46 0000000000000018 0000000000000000 AX 0 0 4 47 [11] .plt PROGBITS 0000000000400388 00000388 48 0000000000000030 0000000000000010 AX 0 0 4 49 [12] .text PROGBITS 00000000004003c0 000003c0 50 00000000000001c8 0000000000000000 AX 0 0 16 51 [13] .fini PROGBITS 0000000000400588 00000588 52 000000000000000e 0000000000000000 AX 0 0 4 53 [14] .rodata PROGBITS 0000000000400598 00000598 54 0000000000000016 0000000000000000 A 0 0 8 55 [15] .eh_frame_hdr PROGBITS 00000000004005b0 000005b0 56 0000000000000024 0000000000000000 A 0 0 4 57 [16] .eh_frame PROGBITS 00000000004005d8 000005d8 58 0000000000000094 0000000000000000 A 0 0 8 59 [17] .ctors PROGBITS 0000000000600670 00000670 60 0000000000000010 0000000000000000 WA 0 0 8 61 [18] .dtors PROGBITS 0000000000600680 00000680 62 0000000000000010 0000000000000000 WA 0 0 8 63 [19] .jcr PROGBITS 0000000000600690 00000690 64 0000000000000008 0000000000000000 WA 0 0 8 65 [20] .dynamic DYNAMIC 0000000000600698 00000698 66 0000000000000190 0000000000000010 WA 5 0 8 67 [21] .got PROGBITS 0000000000600828 00000828 68 0000000000000008 0000000000000008 WA 0 0 8 69 [22] .got.plt PROGBITS 0000000000600830 00000830 70 0000000000000028 0000000000000008 WA 0 0 8 71 [23] .data PROGBITS 0000000000600858 00000858 72 0000000000000004 0000000000000000 WA 0 0 4 73 [24] .bss NOBITS 0000000000600860 0000085c 74 0000000000000010 0000000000000000 WA 0 0 8 75 [25] .comment PROGBITS 0000000000000000 0000085c 76 0000000000000114 0000000000000000 0 0 1 77 [26] .shstrtab STRTAB 0000000000000000 00000970 78 00000000000000eb 0000000000000000 0 0 1 79 [27] .symtab SYMTAB 0000000000000000 000011a0 80 0000000000000648 0000000000000018 28 49 8 81 [28] .strtab STRTAB 0000000000000000 000017e8 82 000000000000023f 0000000000000000 0 0 1 83Key to Flags: 84 W (write), A (alloc), X (execute), M (merge), S (strings) 85 I (info), L (link order), G (group), x (unknown) 86 O (extra OS processing required) o (OS specific), p (processor specific) 87 88There are no section groups in this file. 89 90Program Headers: 91 Type Offset VirtAddr PhysAddr 92 FileSiz MemSiz Flags Align 93 PHDR 0x0000000000000040 0x0000000000400040 0x0000000000400040 94 0x00000000000001c0 0x00000000000001c0 R E 8 95 INTERP 0x0000000000000200 0x0000000000400200 0x0000000000400200 96 0x000000000000001c 0x000000000000001c R 1 97 [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2] 98 LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 99 0x000000000000066c 0x000000000000066c R E 200000 100 LOAD 0x0000000000000670 0x0000000000600670 0x0000000000600670 101 0x00000000000001ec 0x0000000000000200 RW 200000 102 DYNAMIC 0x0000000000000698 0x0000000000600698 0x0000000000600698 103 0x0000000000000190 0x0000000000000190 RW 8 104 NOTE 0x000000000000021c 0x000000000040021c 0x000000000040021c 105 0x0000000000000020 0x0000000000000020 R 4 106 GNU_EH_FRAME 0x00000000000005b0 0x00000000004005b0 0x00000000004005b0 107 0x0000000000000024 0x0000000000000024 R 4 108 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 109 0x0000000000000000 0x0000000000000000 RW 8 110 111 Section to Segment mapping: 112 Segment Sections... 113 00 114 01 .interp 115 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 116 03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 117 04 .dynamic 118 05 .note.ABI-tag 119 06 .eh_frame_hdr 120 07 121 122Dynamic section at offset 0x698 contains 20 entries: 123 Tag Type Name/Value 124 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 125 0x000000000000000c (INIT) 0x400370 126 0x000000000000000d (FINI) 0x400588 127 0x000000006ffffef5 (GNU_HASH) 0x400240 128 0x0000000000000005 (STRTAB) 0x4002c0 129 0x0000000000000006 (SYMTAB) 0x400260 130 0x000000000000000a (STRSZ) 61 (bytes) 131 0x000000000000000b (SYMENT) 24 (bytes) 132 0x0000000000000015 (DEBUG) 0x0 133 0x0000000000000003 (PLTGOT) 0x600830 134 0x0000000000000002 (PLTRELSZ) 48 (bytes) 135 0x0000000000000014 (PLTREL) RELA 136 0x0000000000000017 (JMPREL) 0x400340 137 0x0000000000000007 (RELA) 0x400328 138 0x0000000000000008 (RELASZ) 24 (bytes) 139 0x0000000000000009 (RELAENT) 24 (bytes) 140 0x000000006ffffffe (VERNEED) 0x400308 141 0x000000006fffffff (VERNEEDNUM) 1 142 0x000000006ffffff0 (VERSYM) 0x4002fe 143 0x0000000000000000 (NULL) 0x0 144 145Relocation section '.rela.dyn' at offset 0x328 contains 1 entries: 146 Offset Info Type Sym. Value Sym. Name + Addend 147000000600828 000100000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0 148 149Relocation section '.rela.plt' at offset 0x340 contains 2 entries: 150 Offset Info Type Sym. Value Sym. Name + Addend 151000000600848 000200000007 R_X86_64_JUMP_SLO 0000000000000000 puts + 0 152000000600850 000300000007 R_X86_64_JUMP_SLO 0000000000000000 __libc_start_main + 0 153 154There are no unwind sections in this file. 155 156Symbol table '.dynsym' contains 4 entries: 157 Num: Value Size Type Bind Vis Ndx Name 158 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 159 1: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 160 2: 0000000000000000 396 FUNC GLOBAL DEFAULT UND puts@GLIBC_2.2.5 (2) 161 3: 0000000000000000 421 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.2.5 (2) 162 163Symbol table '.symtab' contains 67 entries: 164 Num: Value Size Type Bind Vis Ndx Name 165 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 166 1: 0000000000400200 0 SECTION LOCAL DEFAULT 1 167 2: 000000000040021c 0 SECTION LOCAL DEFAULT 2 168 3: 0000000000400240 0 SECTION LOCAL DEFAULT 3 169 4: 0000000000400260 0 SECTION LOCAL DEFAULT 4 170 5: 00000000004002c0 0 SECTION LOCAL DEFAULT 5 171 6: 00000000004002fe 0 SECTION LOCAL DEFAULT 6 172 7: 0000000000400308 0 SECTION LOCAL DEFAULT 7 173 8: 0000000000400328 0 SECTION LOCAL DEFAULT 8 174 9: 0000000000400340 0 SECTION LOCAL DEFAULT 9 175 10: 0000000000400370 0 SECTION LOCAL DEFAULT 10 176 11: 0000000000400388 0 SECTION LOCAL DEFAULT 11 177 12: 00000000004003c0 0 SECTION LOCAL DEFAULT 12 178 13: 0000000000400588 0 SECTION LOCAL DEFAULT 13 179 14: 0000000000400598 0 SECTION LOCAL DEFAULT 14 180 15: 00000000004005b0 0 SECTION LOCAL DEFAULT 15 181 16: 00000000004005d8 0 SECTION LOCAL DEFAULT 16 182 17: 0000000000600670 0 SECTION LOCAL DEFAULT 17 183 18: 0000000000600680 0 SECTION LOCAL DEFAULT 18 184 19: 0000000000600690 0 SECTION LOCAL DEFAULT 19 185 20: 0000000000600698 0 SECTION LOCAL DEFAULT 20 186 21: 0000000000600828 0 SECTION LOCAL DEFAULT 21 187 22: 0000000000600830 0 SECTION LOCAL DEFAULT 22 188 23: 0000000000600858 0 SECTION LOCAL DEFAULT 23 189 24: 0000000000600860 0 SECTION LOCAL DEFAULT 24 190 25: 0000000000000000 0 SECTION LOCAL DEFAULT 25 191 26: 00000000004003ec 0 FUNC LOCAL DEFAULT 12 call_gmon_start 192 27: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 193 28: 0000000000600670 0 OBJECT LOCAL DEFAULT 17 __CTOR_LIST__ 194 29: 0000000000600680 0 OBJECT LOCAL DEFAULT 18 __DTOR_LIST__ 195 30: 0000000000600690 0 OBJECT LOCAL DEFAULT 19 __JCR_LIST__ 196 31: 0000000000600860 8 OBJECT LOCAL DEFAULT 24 dtor_idx.6147 197 32: 0000000000600868 1 OBJECT LOCAL DEFAULT 24 completed.6145 198 33: 0000000000400410 0 FUNC LOCAL DEFAULT 12 __do_global_dtors_aux 199 34: 0000000000400470 0 FUNC LOCAL DEFAULT 12 frame_dummy 200 35: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 201 36: 0000000000600678 0 OBJECT LOCAL DEFAULT 17 __CTOR_END__ 202 37: 0000000000400668 0 OBJECT LOCAL DEFAULT 16 __FRAME_END__ 203 38: 0000000000600690 0 OBJECT LOCAL DEFAULT 19 __JCR_END__ 204 39: 0000000000400550 0 FUNC LOCAL DEFAULT 12 __do_global_ctors_aux 205 40: 0000000000000000 0 FILE LOCAL DEFAULT ABS hello.c 206 41: 000000000060066c 0 NOTYPE LOCAL HIDDEN 17 __preinit_array_start 207 42: 000000000060066c 0 NOTYPE LOCAL HIDDEN 17 __fini_array_end 208 43: 0000000000600830 0 OBJECT LOCAL HIDDEN 22 _GLOBAL_OFFSET_TABLE_ 209 44: 000000000060066c 0 NOTYPE LOCAL HIDDEN 17 __preinit_array_end 210 45: 000000000060066c 0 NOTYPE LOCAL HIDDEN 17 __fini_array_start 211 46: 000000000060066c 0 NOTYPE LOCAL HIDDEN 17 __init_array_end 212 47: 000000000060066c 0 NOTYPE LOCAL HIDDEN 17 __init_array_start 213 48: 0000000000600698 0 OBJECT LOCAL HIDDEN 20 _DYNAMIC 214 49: 0000000000600858 0 NOTYPE WEAK DEFAULT 23 data_start 215 50: 00000000004004b0 2 FUNC GLOBAL DEFAULT 12 __libc_csu_fini 216 51: 00000000004003c0 0 FUNC GLOBAL DEFAULT 12 _start 217 52: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 218 53: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 219 54: 0000000000000000 396 FUNC GLOBAL DEFAULT UND puts@@GLIBC_2.2.5 220 55: 0000000000400588 0 FUNC GLOBAL DEFAULT 13 _fini 221 56: 0000000000000000 421 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_ 222 57: 0000000000400598 4 OBJECT GLOBAL DEFAULT 14 _IO_stdin_used 223 58: 0000000000600858 0 NOTYPE GLOBAL DEFAULT 23 __data_start 224 59: 00000000004005a0 0 OBJECT GLOBAL HIDDEN 14 __dso_handle 225 60: 0000000000600688 0 OBJECT GLOBAL HIDDEN 18 __DTOR_END__ 226 61: 00000000004004c0 139 FUNC GLOBAL DEFAULT 12 __libc_csu_init 227 62: 000000000060085c 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 228 63: 0000000000600870 0 NOTYPE GLOBAL DEFAULT ABS _end 229 64: 000000000060085c 0 NOTYPE GLOBAL DEFAULT ABS _edata 230 65: 0000000000400498 21 FUNC GLOBAL DEFAULT 12 main 231 66: 0000000000400370 0 FUNC GLOBAL DEFAULT 10 _init 232 233Version symbols section '.gnu.version' contains 4 entries: 234 Addr: 00000000004002fe Offset: 0x0002fe Link: 4 (.dynsym) 235 000: 0 (*local*) 0 (*local*) 2 (GLIBC_2.2.5) 2 (GLIBC_2.2.5) 236 237Version needs section '.gnu.version_r' contains 1 entries: 238 Addr: 0x0000000000400308 Offset: 0x000308 Link to section: 5 (.dynstr) 239 000000: Version: 1 File: libc.so.6 Cnt: 1 240 0x0010: Name: GLIBC_2.2.5 Flags: none Version: 2 241 242Notes at offset 0x0000021c with length 0x00000020: 243 Owner Data size Description 244 GNU 0x00000010 NT_VERSION (version) 245