Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.92 KB | None | 0 0
  1. ELF 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: 0x400430
  12. Start of program headers: 64 (bytes into file)
  13. Start of section headers: 6856 (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: 9
  18. Size of section headers: 64 (bytes)
  19. Number of section headers: 31
  20. Section header string table index: 28
  21.  
  22. Section 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 0000000000400238 00000238
  28. 000000000000001c 0000000000000000 A 0 0 1
  29. [ 2] .note.ABI-tag NOTE 0000000000400254 00000254
  30. 0000000000000020 0000000000000000 A 0 0 4
  31. [ 3] .note.gnu.build-i NOTE 0000000000400274 00000274
  32. 0000000000000024 0000000000000000 A 0 0 4
  33. [ 4] .gnu.hash GNU_HASH 0000000000400298 00000298
  34. 000000000000001c 0000000000000000 A 5 0 8
  35. [ 5] .dynsym DYNSYM 00000000004002b8 000002b8
  36. 0000000000000060 0000000000000018 A 6 1 8
  37. [ 6] .dynstr STRTAB 0000000000400318 00000318
  38. 000000000000003f 0000000000000000 A 0 0 1
  39. [ 7] .gnu.version VERSYM 0000000000400358 00000358
  40. 0000000000000008 0000000000000002 A 5 0 2
  41. [ 8] .gnu.version_r VERNEED 0000000000400360 00000360
  42. 0000000000000020 0000000000000000 A 6 1 8
  43. [ 9] .rela.dyn RELA 0000000000400380 00000380
  44. 0000000000000018 0000000000000018 A 5 0 8
  45. [10] .rela.plt RELA 0000000000400398 00000398
  46. 0000000000000030 0000000000000018 AI 5 24 8
  47. [11] .init PROGBITS 00000000004003c8 000003c8
  48. 000000000000001a 0000000000000000 AX 0 0 4
  49. [12] .plt PROGBITS 00000000004003f0 000003f0
  50. 0000000000000030 0000000000000010 AX 0 0 16
  51. [13] .plt.got PROGBITS 0000000000400420 00000420
  52. 0000000000000008 0000000000000000 AX 0 0 8
  53. [14] .text PROGBITS 0000000000400430 00000430
  54. 0000000000000272 0000000000000000 AX 0 0 16
  55. [15] .fini PROGBITS 00000000004006a4 000006a4
  56. 0000000000000009 0000000000000000 AX 0 0 4
  57. [16] .rodata PROGBITS 00000000004006b0 000006b0
  58. 000000000000000c 0000000000000000 A 0 0 4
  59. [17] .eh_frame_hdr PROGBITS 00000000004006bc 000006bc
  60. 0000000000000064 0000000000000000 A 0 0 4
  61. [18] .eh_frame PROGBITS 0000000000400720 00000720
  62. 00000000000001b4 0000000000000000 A 0 0 8
  63. [19] .init_array INIT_ARRAY 0000000000600e10 00000e10
  64. 0000000000000008 0000000000000000 WA 0 0 8
  65. [20] .fini_array FINI_ARRAY 0000000000600e18 00000e18
  66. 0000000000000008 0000000000000000 WA 0 0 8
  67. [21] .jcr PROGBITS 0000000000600e20 00000e20
  68. 0000000000000008 0000000000000000 WA 0 0 8
  69. [22] .dynamic DYNAMIC 0000000000600e28 00000e28
  70. 00000000000001d0 0000000000000010 WA 6 0 8
  71. [23] .got PROGBITS 0000000000600ff8 00000ff8
  72. 0000000000000008 0000000000000008 WA 0 0 8
  73. [24] .got.plt PROGBITS 0000000000601000 00001000
  74. 0000000000000028 0000000000000008 WA 0 0 8
  75. [25] .data PROGBITS 0000000000601028 00001028
  76. 0000000000000010 0000000000000000 WA 0 0 8
  77. [26] .bss NOBITS 0000000000601038 00001038
  78. 0000000000000008 0000000000000000 WA 0 0 4
  79. [27] .comment PROGBITS 0000000000000000 00001038
  80. 0000000000000035 0000000000000001 MS 0 0 1
  81. [28] .shstrtab STRTAB 0000000000000000 000019b9
  82. 000000000000010c 0000000000000000 0 0 1
  83. [29] .symtab SYMTAB 0000000000000000 00001070
  84. 0000000000000708 0000000000000018 30 48 8
  85. [30] .strtab STRTAB 0000000000000000 00001778
  86. 0000000000000241 0000000000000000 0 0 1
  87. Key to Flags:
  88. W (write), A (alloc), X (execute), M (merge), S (strings), l (large)
  89. I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
  90. O (extra OS processing required) o (OS specific), p (processor specific)
  91.  
  92. There are no section groups in this file.
  93.  
  94. Program Headers:
  95. Type Offset VirtAddr PhysAddr
  96. FileSiz MemSiz Flags Align
  97. PHDR 0x0000000000000040 0x0000000000400040 0x0000000000400040
  98. 0x00000000000001f8 0x00000000000001f8 R E 8
  99. INTERP 0x0000000000000238 0x0000000000400238 0x0000000000400238
  100. 0x000000000000001c 0x000000000000001c R 1
  101. [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  102. LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000
  103. 0x00000000000008d4 0x00000000000008d4 R E 200000
  104. LOAD 0x0000000000000e10 0x0000000000600e10 0x0000000000600e10
  105. 0x0000000000000228 0x0000000000000230 RW 200000
  106. DYNAMIC 0x0000000000000e28 0x0000000000600e28 0x0000000000600e28
  107. 0x00000000000001d0 0x00000000000001d0 RW 8
  108. NOTE 0x0000000000000254 0x0000000000400254 0x0000000000400254
  109. 0x0000000000000044 0x0000000000000044 R 4
  110. GNU_EH_FRAME 0x00000000000006bc 0x00000000004006bc 0x00000000004006bc
  111. 0x0000000000000064 0x0000000000000064 R 4
  112. GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
  113. 0x0000000000000000 0x0000000000000000 RW 10
  114. GNU_RELRO 0x0000000000000e10 0x0000000000600e10 0x0000000000600e10
  115. 0x00000000000001f0 0x00000000000001f0 R 1
  116.  
  117. Section to Segment mapping:
  118. Segment Sections...
  119. 00
  120. 01 .interp
  121. 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .plt.got .text .fini .rodata .eh_frame_hdr .eh_frame
  122. 03 .init_array .fini_array .jcr .dynamic .got .got.plt .data .bss
  123. 04 .dynamic
  124. 05 .note.ABI-tag .note.gnu.build-id
  125. 06 .eh_frame_hdr
  126. 07
  127. 08 .init_array .fini_array .jcr .dynamic .got
  128.  
  129. Dynamic section at offset 0xe28 contains 24 entries:
  130. Tag Type Name/Value
  131. 0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
  132. 0x000000000000000c (INIT) 0x4003c8
  133. 0x000000000000000d (FINI) 0x4006a4
  134. 0x0000000000000019 (INIT_ARRAY) 0x600e10
  135. 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
  136. 0x000000000000001a (FINI_ARRAY) 0x600e18
  137. 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
  138. 0x000000006ffffef5 (GNU_HASH) 0x400298
  139. 0x0000000000000005 (STRTAB) 0x400318
  140. 0x0000000000000006 (SYMTAB) 0x4002b8
  141. 0x000000000000000a (STRSZ) 63 (bytes)
  142. 0x000000000000000b (SYMENT) 24 (bytes)
  143. 0x0000000000000015 (DEBUG) 0x0
  144. 0x0000000000000003 (PLTGOT) 0x601000
  145. 0x0000000000000002 (PLTRELSZ) 48 (bytes)
  146. 0x0000000000000014 (PLTREL) RELA
  147. 0x0000000000000017 (JMPREL) 0x400398
  148. 0x0000000000000007 (RELA) 0x400380
  149. 0x0000000000000008 (RELASZ) 24 (bytes)
  150. 0x0000000000000009 (RELAENT) 24 (bytes)
  151. 0x000000006ffffffe (VERNEED) 0x400360
  152. 0x000000006fffffff (VERNEEDNUM) 1
  153. 0x000000006ffffff0 (VERSYM) 0x400358
  154. 0x0000000000000000 (NULL) 0x0
  155.  
  156. Relocation section '.rela.dyn' at offset 0x380 contains 1 entries:
  157. Offset Info Type Sym. Value Sym. Name + Addend
  158. 000000600ff8 000300000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0
  159.  
  160. Relocation section '.rela.plt' at offset 0x398 contains 2 entries:
  161. Offset Info Type Sym. Value Sym. Name + Addend
  162. 000000601018 000100000007 R_X86_64_JUMP_SLO 0000000000000000 printf@GLIBC_2.2.5 + 0
  163. 000000601020 000200000007 R_X86_64_JUMP_SLO 0000000000000000 __libc_start_main@GLIBC_2.2.5 + 0
  164.  
  165. The decoding of unwind sections for machine type Advanced Micro Devices X86-64 is not currently supported.
  166.  
  167. Symbol table '.dynsym' contains 4 entries:
  168. Num: Value Size Type Bind Vis Ndx Name
  169. 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
  170. 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.2.5 (2)
  171. 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.2.5 (2)
  172. 3: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
  173.  
  174. Symbol table '.symtab' contains 75 entries:
  175. Num: Value Size Type Bind Vis Ndx Name
  176. 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
  177. 1: 0000000000400238 0 SECTION LOCAL DEFAULT 1
  178. 2: 0000000000400254 0 SECTION LOCAL DEFAULT 2
  179. 3: 0000000000400274 0 SECTION LOCAL DEFAULT 3
  180. 4: 0000000000400298 0 SECTION LOCAL DEFAULT 4
  181. 5: 00000000004002b8 0 SECTION LOCAL DEFAULT 5
  182. 6: 0000000000400318 0 SECTION LOCAL DEFAULT 6
  183. 7: 0000000000400358 0 SECTION LOCAL DEFAULT 7
  184. 8: 0000000000400360 0 SECTION LOCAL DEFAULT 8
  185. 9: 0000000000400380 0 SECTION LOCAL DEFAULT 9
  186. 10: 0000000000400398 0 SECTION LOCAL DEFAULT 10
  187. 11: 00000000004003c8 0 SECTION LOCAL DEFAULT 11
  188. 12: 00000000004003f0 0 SECTION LOCAL DEFAULT 12
  189. 13: 0000000000400420 0 SECTION LOCAL DEFAULT 13
  190. 14: 0000000000400430 0 SECTION LOCAL DEFAULT 14
  191. 15: 00000000004006a4 0 SECTION LOCAL DEFAULT 15
  192. 16: 00000000004006b0 0 SECTION LOCAL DEFAULT 16
  193. 17: 00000000004006bc 0 SECTION LOCAL DEFAULT 17
  194. 18: 0000000000400720 0 SECTION LOCAL DEFAULT 18
  195. 19: 0000000000600e10 0 SECTION LOCAL DEFAULT 19
  196. 20: 0000000000600e18 0 SECTION LOCAL DEFAULT 20
  197. 21: 0000000000600e20 0 SECTION LOCAL DEFAULT 21
  198. 22: 0000000000600e28 0 SECTION LOCAL DEFAULT 22
  199. 23: 0000000000600ff8 0 SECTION LOCAL DEFAULT 23
  200. 24: 0000000000601000 0 SECTION LOCAL DEFAULT 24
  201. 25: 0000000000601028 0 SECTION LOCAL DEFAULT 25
  202. 26: 0000000000601038 0 SECTION LOCAL DEFAULT 26
  203. 27: 0000000000000000 0 SECTION LOCAL DEFAULT 27
  204. 28: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
  205. 29: 0000000000600e20 0 OBJECT LOCAL DEFAULT 21 __JCR_LIST__
  206. 30: 0000000000400460 0 FUNC LOCAL DEFAULT 14 deregister_tm_clones
  207. 31: 00000000004004a0 0 FUNC LOCAL DEFAULT 14 register_tm_clones
  208. 32: 00000000004004e0 0 FUNC LOCAL DEFAULT 14 __do_global_dtors_aux
  209. 33: 0000000000601038 1 OBJECT LOCAL DEFAULT 26 completed.7594
  210. 34: 0000000000600e18 0 OBJECT LOCAL DEFAULT 20 __do_global_dtors_aux_fin
  211. 35: 0000000000400500 0 FUNC LOCAL DEFAULT 14 frame_dummy
  212. 36: 0000000000600e10 0 OBJECT LOCAL DEFAULT 19 __frame_dummy_init_array_
  213. 37: 0000000000000000 0 FILE LOCAL DEFAULT ABS main.c
  214. 38: 0000000000000000 0 FILE LOCAL DEFAULT ABS module.c
  215. 39: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
  216. 40: 00000000004008d0 0 OBJECT LOCAL DEFAULT 18 __FRAME_END__
  217. 41: 0000000000600e20 0 OBJECT LOCAL DEFAULT 21 __JCR_END__
  218. 42: 0000000000000000 0 FILE LOCAL DEFAULT ABS
  219. 43: 0000000000600e18 0 NOTYPE LOCAL DEFAULT 19 __init_array_end
  220. 44: 0000000000600e28 0 OBJECT LOCAL DEFAULT 22 _DYNAMIC
  221. 45: 0000000000600e10 0 NOTYPE LOCAL DEFAULT 19 __init_array_start
  222. 46: 00000000004006bc 0 NOTYPE LOCAL DEFAULT 17 __GNU_EH_FRAME_HDR
  223. 47: 0000000000601000 0 OBJECT LOCAL DEFAULT 24 _GLOBAL_OFFSET_TABLE_
  224. 48: 00000000004006a0 2 FUNC GLOBAL DEFAULT 14 __libc_csu_fini
  225. 49: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterTMCloneTab
  226. 50: 0000000000601028 0 NOTYPE WEAK DEFAULT 25 data_start
  227. 51: 0000000000601038 0 NOTYPE GLOBAL DEFAULT 25 _edata
  228. 52: 00000000004005d1 22 FUNC GLOBAL DEFAULT 14 increment
  229. 53: 000000000060103c 4 OBJECT GLOBAL DEFAULT 26 x
  230. 54: 00000000004006a4 0 FUNC GLOBAL DEFAULT 15 _fini
  231. 55: 00000000004005e7 22 FUNC GLOBAL DEFAULT 14 decrement
  232. 56: 0000000000000000 0 FUNC GLOBAL DEFAULT UND printf@@GLIBC_2.2.5
  233. 57: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_
  234. 58: 0000000000601028 0 NOTYPE GLOBAL DEFAULT 25 __data_start
  235. 59: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
  236. 60: 0000000000601030 0 OBJECT GLOBAL HIDDEN 25 __dso_handle
  237. 61: 00000000004006b0 4 OBJECT GLOBAL DEFAULT 16 _IO_stdin_used
  238. 62: 00000000004005be 19 FUNC GLOBAL DEFAULT 14 init
  239. 63: 0000000000400630 101 FUNC GLOBAL DEFAULT 14 __libc_csu_init
  240. 64: 0000000000601040 0 NOTYPE GLOBAL DEFAULT 26 _end
  241. 65: 0000000000400610 12 FUNC GLOBAL DEFAULT 14 get
  242. 66: 0000000000400430 42 FUNC GLOBAL DEFAULT 14 _start
  243. 67: 0000000000601038 0 NOTYPE GLOBAL DEFAULT 26 __bss_start
  244. 68: 0000000000400526 152 FUNC GLOBAL DEFAULT 14 main
  245. 69: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
  246. 70: 000000000040061c 17 FUNC GLOBAL DEFAULT 14 uninit
  247. 71: 0000000000601038 0 OBJECT GLOBAL HIDDEN 25 __TMC_END__
  248. 72: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMCloneTable
  249. 73: 00000000004003c8 0 FUNC GLOBAL DEFAULT 11 _init
  250. 74: 00000000004005fd 19 FUNC GLOBAL DEFAULT 14 set
  251.  
  252. Version symbols section '.gnu.version' contains 4 entries:
  253. Addr: 0000000000400358 Offset: 0x000358 Link: 5 (.dynsym)
  254. 000: 0 (*local*) 2 (GLIBC_2.2.5) 2 (GLIBC_2.2.5) 0 (*local*)
  255.  
  256. Version needs section '.gnu.version_r' contains 1 entries:
  257. Addr: 0x0000000000400360 Offset: 0x000360 Link: 6 (.dynstr)
  258. 000000: Version: 1 File: libc.so.6 Cnt: 1
  259. 0x0010: Name: GLIBC_2.2.5 Flags: none Version: 2
  260.  
  261. Displaying notes found at file offset 0x00000254 with length 0x00000020:
  262. Owner Data size Description
  263. GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
  264. OS: Linux, ABI: 2.6.32
  265.  
  266. Displaying notes found at file offset 0x00000274 with length 0x00000024:
  267. Owner Data size Description
  268. GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring)
  269. Build ID: b47ccd780ccc4dd9754995a01ba4ab6009a980e9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement