Advertisement
Guest User

Untitled

a guest
Mar 12th, 2023
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.29 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: DYN (Shared object file)
  9. Machine: AArch64
  10. Version: 0x1
  11. Entry point address: 0x660
  12. Start of program headers: 64 (bytes into file)
  13. Start of section headers: 8320 (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: 34
  20. Section header string table index: 33
  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 0000000000000238 00000238
  28. 000000000000001b 0000000000000000 A 0 0 1
  29. [ 2] .note.gnu.bu[...] NOTE 0000000000000254 00000254
  30. 0000000000000024 0000000000000000 A 0 0 4
  31. [ 3] .note.ABI-tag NOTE 0000000000000278 00000278
  32. 0000000000000020 0000000000000000 A 0 0 4
  33. [ 4] .gnu.hash GNU_HASH 0000000000000298 00000298
  34. 000000000000001c 0000000000000000 A 5 0 8
  35. [ 5] .dynsym DYNSYM 00000000000002b8 000002b8
  36. 00000000000000f0 0000000000000018 A 6 3 8
  37. [ 6] .dynstr STRTAB 00000000000003a8 000003a8
  38. 0000000000000087 0000000000000000 A 0 0 1
  39. [ 7] .gnu.version VERSYM 0000000000000430 00000430
  40. 0000000000000014 0000000000000002 A 5 0 2
  41. [ 8] .gnu.version_r VERNEED 0000000000000448 00000448
  42. 0000000000000020 0000000000000000 A 6 1 8
  43. [ 9] .rela.dyn RELA 0000000000000468 00000468
  44. 00000000000000f0 0000000000000018 A 5 0 8
  45. [10] .rela.plt RELA 0000000000000558 00000558
  46. 0000000000000078 0000000000000018 AI 5 22 8
  47. [11] .init PROGBITS 00000000000005d0 000005d0
  48. 0000000000000014 0000000000000000 AX 0 0 4
  49. [12] .plt PROGBITS 00000000000005f0 000005f0
  50. 0000000000000070 0000000000000000 AX 0 0 16
  51. [13] .text PROGBITS 0000000000000660 00000660
  52. 00000000000001c4 0000000000000000 AX 0 0 16
  53. [14] .fini PROGBITS 0000000000000824 00000824
  54. 0000000000000010 0000000000000000 AX 0 0 4
  55. [15] .rodata PROGBITS 0000000000000838 00000838
  56. 0000000000000014 0000000000000000 A 0 0 8
  57. [16] .eh_frame_hdr PROGBITS 000000000000084c 0000084c
  58. 0000000000000044 0000000000000000 A 0 0 4
  59. [17] .eh_frame PROGBITS 0000000000000890 00000890
  60. 00000000000000e4 0000000000000000 A 0 0 8
  61. [18] .init_array INIT_ARRAY 0000000000010db8 00000db8
  62. 0000000000000008 0000000000000008 WA 0 0 8
  63. [19] .fini_array FINI_ARRAY 0000000000010dc0 00000dc0
  64. 0000000000000008 0000000000000008 WA 0 0 8
  65. [20] .dynamic DYNAMIC 0000000000010dc8 00000dc8
  66. 00000000000001e0 0000000000000010 WA 6 0 8
  67. [21] .got PROGBITS 0000000000010fa8 00000fa8
  68. 0000000000000040 0000000000000008 WA 0 0 8
  69. [22] .got.plt PROGBITS 0000000000010fe8 00000fe8
  70. 0000000000000040 0000000000000008 WA 0 0 8
  71. [23] .data PROGBITS 0000000000011028 00001028
  72. 0000000000000010 0000000000000000 WA 0 0 8
  73. [24] .bss NOBITS 0000000000011038 00001038
  74. 0000000000000008 0000000000000000 WA 0 0 1
  75. [25] .comment PROGBITS 0000000000000000 00001038
  76. 0000000000000027 0000000000000001 MS 0 0 1
  77. [26] .debug_aranges PROGBITS 0000000000000000 0000105f
  78. 0000000000000030 0000000000000000 0 0 1
  79. [27] .debug_info PROGBITS 0000000000000000 0000108f
  80. 00000000000000ba 0000000000000000 0 0 1
  81. [28] .debug_abbrev PROGBITS 0000000000000000 00001149
  82. 0000000000000060 0000000000000000 0 0 1
  83. [29] .debug_line PROGBITS 0000000000000000 000011a9
  84. 000000000000004d 0000000000000000 0 0 1
  85. [30] .debug_str PROGBITS 0000000000000000 000011f6
  86. 00000000000000d7 0000000000000001 MS 0 0 1
  87. [31] .symtab SYMTAB 0000000000000000 000012d0
  88. 0000000000000948 0000000000000018 32 75 8
  89. [32] .strtab STRTAB 0000000000000000 00001c18
  90. 0000000000000320 0000000000000000 0 0 1
  91. [33] .shstrtab STRTAB 0000000000000000 00001f38
  92. 0000000000000143 0000000000000000 0 0 1
  93. Key to Flags:
  94. W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  95. L (link order), O (extra OS processing required), G (group), T (TLS),
  96. C (compressed), x (unknown), o (OS specific), E (exclude),
  97. p (processor specific)
  98.  
  99. There are no section groups in this file.
  100.  
  101. Program Headers:
  102. Type Offset VirtAddr PhysAddr
  103. FileSiz MemSiz Flags Align
  104. PHDR 0x0000000000000040 0x0000000000000040 0x0000000000000040
  105. 0x00000000000001f8 0x00000000000001f8 R 0x8
  106. INTERP 0x0000000000000238 0x0000000000000238 0x0000000000000238
  107. 0x000000000000001b 0x000000000000001b R 0x1
  108. [Requesting program interpreter: /lib/ld-linux-aarch64.so.1]
  109. LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
  110. 0x0000000000000974 0x0000000000000974 R E 0x10000
  111. LOAD 0x0000000000000db8 0x0000000000010db8 0x0000000000010db8
  112. 0x0000000000000280 0x0000000000000288 RW 0x10000
  113. DYNAMIC 0x0000000000000dc8 0x0000000000010dc8 0x0000000000010dc8
  114. 0x00000000000001e0 0x00000000000001e0 RW 0x8
  115. NOTE 0x0000000000000254 0x0000000000000254 0x0000000000000254
  116. 0x0000000000000044 0x0000000000000044 R 0x4
  117. GNU_EH_FRAME 0x000000000000084c 0x000000000000084c 0x000000000000084c
  118. 0x0000000000000044 0x0000000000000044 R 0x4
  119. GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
  120. 0x0000000000000000 0x0000000000000000 RW 0x10
  121. GNU_RELRO 0x0000000000000db8 0x0000000000010db8 0x0000000000010db8
  122. 0x0000000000000248 0x0000000000000248 R 0x1
  123.  
  124. Section to Segment mapping:
  125. Segment Sections...
  126. 00
  127. 01 .interp
  128. 02 .interp .note.gnu.build-id .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
  129. 03 .init_array .fini_array .dynamic .got .got.plt .data .bss
  130. 04 .dynamic
  131. 05 .note.gnu.build-id .note.ABI-tag
  132. 06 .eh_frame_hdr
  133. 07
  134. 08 .init_array .fini_array .dynamic .got
  135.  
  136. Dynamic section at offset 0xdc8 contains 26 entries:
  137. Tag Type Name/Value
  138. 0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
  139. 0x000000000000000c (INIT) 0x5d0
  140. 0x000000000000000d (FINI) 0x824
  141. 0x0000000000000019 (INIT_ARRAY) 0x10db8
  142. 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
  143. 0x000000000000001a (FINI_ARRAY) 0x10dc0
  144. 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
  145. 0x000000006ffffef5 (GNU_HASH) 0x298
  146. 0x0000000000000005 (STRTAB) 0x3a8
  147. 0x0000000000000006 (SYMTAB) 0x2b8
  148. 0x000000000000000a (STRSZ) 135 (bytes)
  149. 0x000000000000000b (SYMENT) 24 (bytes)
  150. 0x0000000000000015 (DEBUG) 0x0
  151. 0x0000000000000003 (PLTGOT) 0x10fe8
  152. 0x0000000000000002 (PLTRELSZ) 120 (bytes)
  153. 0x0000000000000014 (PLTREL) RELA
  154. 0x0000000000000017 (JMPREL) 0x558
  155. 0x0000000000000007 (RELA) 0x468
  156. 0x0000000000000008 (RELASZ) 240 (bytes)
  157. 0x0000000000000009 (RELAENT) 24 (bytes)
  158. 0x000000006ffffffb (FLAGS_1) Flags: PIE
  159. 0x000000006ffffffe (VERNEED) 0x448
  160. 0x000000006fffffff (VERNEEDNUM) 1
  161. 0x000000006ffffff0 (VERSYM) 0x430
  162. 0x000000006ffffff9 (RELACOUNT) 6
  163. 0x0000000000000000 (NULL) 0x0
  164.  
  165. Relocation section '.rela.dyn' at offset 0x468 contains 10 entries:
  166. Offset Info Type Sym. Value Sym. Name + Addend
  167. 000000010db8 000000000403 R_AARCH64_RELATIV 770
  168. 000000010dc0 000000000403 R_AARCH64_RELATIV 720
  169. 000000010fb0 000000000403 R_AARCH64_RELATIV 820
  170. 000000010fd0 000000000403 R_AARCH64_RELATIV 7a0
  171. 000000010fd8 000000000403 R_AARCH64_RELATIV 774
  172. 000000011030 000000000403 R_AARCH64_RELATIV 11030
  173. 000000010fb8 000300000401 R_AARCH64_GLOB_DA 0000000000000000 _ITM_deregisterTM[...] + 0
  174. 000000010fc0 000400000401 R_AARCH64_GLOB_DA 0000000000000000 __cxa_finalize@GLIBC_2.17 + 0
  175. 000000010fc8 000600000401 R_AARCH64_GLOB_DA 0000000000000000 __gmon_start__ + 0
  176. 000000010fe0 000900000401 R_AARCH64_GLOB_DA 0000000000000000 _ITM_registerTMCl[...] + 0
  177.  
  178. Relocation section '.rela.plt' at offset 0x558 contains 5 entries:
  179. Offset Info Type Sym. Value Sym. Name + Addend
  180. 000000011000 000400000402 R_AARCH64_JUMP_SL 0000000000000000 __cxa_finalize@GLIBC_2.17 + 0
  181. 000000011008 000500000402 R_AARCH64_JUMP_SL 0000000000000000 __libc_start_main@GLIBC_2.17 + 0
  182. 000000011010 000600000402 R_AARCH64_JUMP_SL 0000000000000000 __gmon_start__ + 0
  183. 000000011018 000700000402 R_AARCH64_JUMP_SL 0000000000000000 abort@GLIBC_2.17 + 0
  184. 000000011020 000800000402 R_AARCH64_JUMP_SL 0000000000000000 puts@GLIBC_2.17 + 0
  185.  
  186. The decoding of unwind sections for machine type AArch64 is not currently supported.
  187.  
  188. Symbol table '.dynsym' contains 10 entries:
  189. Num: Value Size Type Bind Vis Ndx Name
  190. 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
  191. 1: 00000000000005d0 0 SECTION LOCAL DEFAULT 11
  192. 2: 0000000000011028 0 SECTION LOCAL DEFAULT 23
  193. 3: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterT[...]
  194. 4: 0000000000000000 0 FUNC WEAK DEFAULT UND _[...]@GLIBC_2.17 (2)
  195. 5: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _[...]@GLIBC_2.17 (2)
  196. 6: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
  197. 7: 0000000000000000 0 FUNC GLOBAL DEFAULT UND abort@GLIBC_2.17 (2)
  198. 8: 0000000000000000 0 FUNC GLOBAL DEFAULT UND puts@GLIBC_2.17 (2)
  199. 9: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMC[...]
  200.  
  201. Symbol table '.symtab' contains 99 entries:
  202. Num: Value Size Type Bind Vis Ndx Name
  203. 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
  204. 1: 0000000000000238 0 SECTION LOCAL DEFAULT 1
  205. 2: 0000000000000254 0 SECTION LOCAL DEFAULT 2
  206. 3: 0000000000000278 0 SECTION LOCAL DEFAULT 3
  207. 4: 0000000000000298 0 SECTION LOCAL DEFAULT 4
  208. 5: 00000000000002b8 0 SECTION LOCAL DEFAULT 5
  209. 6: 00000000000003a8 0 SECTION LOCAL DEFAULT 6
  210. 7: 0000000000000430 0 SECTION LOCAL DEFAULT 7
  211. 8: 0000000000000448 0 SECTION LOCAL DEFAULT 8
  212. 9: 0000000000000468 0 SECTION LOCAL DEFAULT 9
  213. 10: 0000000000000558 0 SECTION LOCAL DEFAULT 10
  214. 11: 00000000000005d0 0 SECTION LOCAL DEFAULT 11
  215. 12: 00000000000005f0 0 SECTION LOCAL DEFAULT 12
  216. 13: 0000000000000660 0 SECTION LOCAL DEFAULT 13
  217. 14: 0000000000000824 0 SECTION LOCAL DEFAULT 14
  218. 15: 0000000000000838 0 SECTION LOCAL DEFAULT 15
  219. 16: 000000000000084c 0 SECTION LOCAL DEFAULT 16
  220. 17: 0000000000000890 0 SECTION LOCAL DEFAULT 17
  221. 18: 0000000000010db8 0 SECTION LOCAL DEFAULT 18
  222. 19: 0000000000010dc0 0 SECTION LOCAL DEFAULT 19
  223. 20: 0000000000010dc8 0 SECTION LOCAL DEFAULT 20
  224. 21: 0000000000010fa8 0 SECTION LOCAL DEFAULT 21
  225. 22: 0000000000010fe8 0 SECTION LOCAL DEFAULT 22
  226. 23: 0000000000011028 0 SECTION LOCAL DEFAULT 23
  227. 24: 0000000000011038 0 SECTION LOCAL DEFAULT 24
  228. 25: 0000000000000000 0 SECTION LOCAL DEFAULT 25
  229. 26: 0000000000000000 0 SECTION LOCAL DEFAULT 26
  230. 27: 0000000000000000 0 SECTION LOCAL DEFAULT 27
  231. 28: 0000000000000000 0 SECTION LOCAL DEFAULT 28
  232. 29: 0000000000000000 0 SECTION LOCAL DEFAULT 29
  233. 30: 0000000000000000 0 SECTION LOCAL DEFAULT 30
  234. 31: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/lib/gcc/aar[...]
  235. 32: 0000000000000278 0 NOTYPE LOCAL DEFAULT 3 $d
  236. 33: 0000000000000660 0 NOTYPE LOCAL DEFAULT 13 $x
  237. 34: 0000000000000838 0 NOTYPE LOCAL DEFAULT 15 $d
  238. 35: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/lib/gcc/aar[...]
  239. 36: 0000000000000698 0 NOTYPE LOCAL DEFAULT 13 $x
  240. 37: 0000000000000698 20 FUNC LOCAL DEFAULT 13 call_weak_fn
  241. 38: 00000000000005d0 0 NOTYPE LOCAL DEFAULT 11 $x
  242. 39: 0000000000000824 0 NOTYPE LOCAL DEFAULT 14 $x
  243. 40: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/lib/gcc/aar[...]
  244. 41: 00000000000005dc 0 NOTYPE LOCAL DEFAULT 11 $x
  245. 42: 000000000000082c 0 NOTYPE LOCAL DEFAULT 14 $x
  246. 43: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
  247. 44: 00000000000006b0 0 NOTYPE LOCAL DEFAULT 13 $x
  248. 45: 00000000000006b0 0 FUNC LOCAL DEFAULT 13 deregister_tm_clones
  249. 46: 00000000000006e0 0 FUNC LOCAL DEFAULT 13 register_tm_clones
  250. 47: 0000000000011030 0 NOTYPE LOCAL DEFAULT 23 $d
  251. 48: 0000000000000720 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux
  252. 49: 0000000000011038 1 OBJECT LOCAL DEFAULT 24 completed.0
  253. 50: 0000000000010dc0 0 NOTYPE LOCAL DEFAULT 19 $d
  254. 51: 0000000000010dc0 0 OBJECT LOCAL DEFAULT 19 __do_global_dtor[...]
  255. 52: 0000000000000770 0 FUNC LOCAL DEFAULT 13 frame_dummy
  256. 53: 0000000000010db8 0 NOTYPE LOCAL DEFAULT 18 $d
  257. 54: 0000000000010db8 0 OBJECT LOCAL DEFAULT 18 __frame_dummy_in[...]
  258. 55: 00000000000008a4 0 NOTYPE LOCAL DEFAULT 17 $d
  259. 56: 0000000000011038 0 NOTYPE LOCAL DEFAULT 24 $d
  260. 57: 0000000000000000 0 FILE LOCAL DEFAULT ABS helloworld.cpp
  261. 58: 0000000000000840 0 NOTYPE LOCAL DEFAULT 15 $d
  262. 59: 0000000000000774 0 NOTYPE LOCAL DEFAULT 13 $x
  263. 60: 0000000000000908 0 NOTYPE LOCAL DEFAULT 17 $d
  264. 61: 0000000000000000 0 FILE LOCAL DEFAULT ABS elf-init.oS
  265. 62: 00000000000007a0 0 NOTYPE LOCAL DEFAULT 13 $x
  266. 63: 0000000000000928 0 NOTYPE LOCAL DEFAULT 17 $d
  267. 64: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
  268. 65: 0000000000000970 0 NOTYPE LOCAL DEFAULT 17 $d
  269. 66: 0000000000000970 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__
  270. 67: 0000000000000000 0 FILE LOCAL DEFAULT ABS
  271. 68: 0000000000010dc0 0 NOTYPE LOCAL DEFAULT 18 __init_array_end
  272. 69: 0000000000010dc8 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC
  273. 70: 0000000000010db8 0 NOTYPE LOCAL DEFAULT 18 __init_array_start
  274. 71: 000000000000084c 0 NOTYPE LOCAL DEFAULT 16 __GNU_EH_FRAME_HDR
  275. 72: 0000000000010fa8 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
  276. 73: 00000000000005d0 0 FUNC LOCAL DEFAULT 11 _init
  277. 74: 00000000000005f0 0 NOTYPE LOCAL DEFAULT 12 $x
  278. 75: 0000000000000820 4 FUNC GLOBAL DEFAULT 13 __libc_csu_fini
  279. 76: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterT[...]
  280. 77: 0000000000011028 0 NOTYPE WEAK DEFAULT 23 data_start
  281. 78: 0000000000011038 0 NOTYPE GLOBAL DEFAULT 24 __bss_start__
  282. 79: 0000000000000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@G[...]
  283. 80: 0000000000011040 0 NOTYPE GLOBAL DEFAULT 24 _bss_end__
  284. 81: 0000000000011038 0 NOTYPE GLOBAL DEFAULT 23 _edata
  285. 82: 0000000000000824 0 FUNC GLOBAL HIDDEN 14 _fini
  286. 83: 0000000000011040 0 NOTYPE GLOBAL DEFAULT 24 __bss_end__
  287. 84: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_mai[...]
  288. 85: 0000000000011028 0 NOTYPE GLOBAL DEFAULT 23 __data_start
  289. 86: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
  290. 87: 0000000000011030 0 OBJECT GLOBAL HIDDEN 23 __dso_handle
  291. 88: 0000000000000000 0 FUNC GLOBAL DEFAULT UND abort@GLIBC_2.17
  292. 89: 0000000000000838 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used
  293. 90: 0000000000000000 0 FUNC GLOBAL DEFAULT UND puts@GLIBC_2.17
  294. 91: 00000000000007a0 124 FUNC GLOBAL DEFAULT 13 __libc_csu_init
  295. 92: 0000000000011040 0 NOTYPE GLOBAL DEFAULT 24 _end
  296. 93: 0000000000000660 0 FUNC GLOBAL DEFAULT 13 _start
  297. 94: 0000000000011040 0 NOTYPE GLOBAL DEFAULT 24 __end__
  298. 95: 0000000000011038 0 NOTYPE GLOBAL DEFAULT 24 __bss_start
  299. 96: 0000000000000774 40 FUNC GLOBAL DEFAULT 13 main
  300. 97: 0000000000011038 0 OBJECT GLOBAL HIDDEN 23 __TMC_END__
  301. 98: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMC[...]
  302.  
  303. Version symbols section '.gnu.version' contains 10 entries:
  304. Addr: 0x0000000000000430 Offset: 0x000430 Link: 5 (.dynsym)
  305. 000: 0 (*local*) 0 (*local*) 0 (*local*) 0 (*local*)
  306. 004: 2 (GLIBC_2.17) 2 (GLIBC_2.17) 0 (*local*) 2 (GLIBC_2.17)
  307. 008: 2 (GLIBC_2.17) 0 (*local*)
  308.  
  309. Version needs section '.gnu.version_r' contains 1 entry:
  310. Addr: 0x0000000000000448 Offset: 0x000448 Link: 6 (.dynstr)
  311. 000000: Version: 1 File: libc.so.6 Cnt: 1
  312. 0x0010: Name: GLIBC_2.17 Flags: none Version: 2
  313.  
  314. Displaying notes found in: .note.gnu.build-id
  315. Owner Data size Description
  316. GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring)
  317. Build ID: 9f13e3e56e7d4d82aa2b1ec735b63d829976fe87
  318.  
  319. Displaying notes found in: .note.ABI-tag
  320. Owner Data size Description
  321. GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
  322. OS: Linux, ABI: 3.7.0
  323.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement