fairuz

Untitled

May 5th, 2011
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.02 KB | None | 0 0
  1. x0152532@unx0152532:~/mydroid$ readelf -a hello-arm-bionic
  2. ELF Header:
  3. Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  4. Class: ELF32
  5. Data: 2's complement, little endian
  6. Version: 1 (current)
  7. OS/ABI: UNIX - System V
  8. ABI Version: 0
  9. Type: EXEC (Executable file)
  10. Machine: ARM
  11. Version: 0x1
  12. Entry point address: 0x8420
  13. Start of program headers: 52 (bytes into file)
  14. Start of section headers: 4576 (bytes into file)
  15. Flags: 0x5000002, has entry point, Version5 EABI
  16. Size of this header: 52 (bytes)
  17. Size of program headers: 32 (bytes)
  18. Number of program headers: 6
  19. Size of section headers: 40 (bytes)
  20. Number of section headers: 23
  21. Section header string table index: 20
  22.  
  23. Section Headers:
  24. [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
  25. [ 0] NULL 00000000 000000 000000 00 0 0 0
  26. [ 1] .interp PROGBITS 000080f4 0000f4 000013 00 A 0 0 1
  27. [ 2] .hash HASH 00008108 000108 00009c 04 A 3 0 4
  28. [ 3] .dynsym DYNSYM 000081a4 0001a4 000140 10 A 4 1 4
  29. [ 4] .dynstr STRTAB 000082e4 0002e4 0000d3 00 A 0 0 1
  30. [ 5] .rel.plt REL 000083b8 0003b8 000020 08 A 3 6 4
  31. [ 6] .plt PROGBITS 000083d8 0003d8 000044 04 AX 0 0 4
  32. [ 7] .text PROGBITS 00008420 000420 000090 00 AX 0 0 16
  33. [ 8] .rodata PROGBITS 000084b0 0004b0 000010 00 A 0 0 8
  34. [ 9] .ARM.extab PROGBITS 000084c0 0004c0 00000c 00 A 0 0 4
  35. [10] .ARM.exidx ARM_EXIDX 000084cc 0004cc 000008 00 AL 7 0 4
  36. [11] .preinit_array PREINIT_ARRAY 00009000 001000 000008 00 WA 0 0 1
  37. [12] .init_array INIT_ARRAY 00009008 001008 000008 00 WA 0 0 1
  38. [13] .fini_array FINI_ARRAY 00009010 001010 000008 00 WA 0 0 1
  39. [14] .ctors PROGBITS 00009018 001018 000008 00 WA 0 0 1
  40. [15] .dynamic DYNAMIC 00009020 001020 0000c0 08 WA 4 0 4
  41. [16] .got PROGBITS 000090e0 0010e0 00001c 04 WA 0 0 4
  42. [17] .bss NOBITS 00009100 0010fc 000010 00 WA 0 0 16
  43. [18] .comment PROGBITS 00000000 0010fc 000012 00 0 0 1
  44. [19] .ARM.attributes ARM_ATTRIBUTES 00000000 00110e 000010 00 0 0 1
  45. [20] .shstrtab STRTAB 00000000 00111e 0000c0 00 0 0 1
  46. [21] .symtab SYMTAB 00000000 001578 0003e0 10 22 39 4
  47. [22] .strtab STRTAB 00000000 001958 00012c 00 0 0 1
  48. Key to Flags:
  49.  
  50. W (write), A (alloc), X (execute), M (merge), S (strings)
  51. I (info), L (link order), G (group), x (unknown)
  52. O (extra OS processing required) o (OS specific), p (processor specific)
  53.  
  54. There are no section groups in this file.
  55.  
  56. Program Headers:
  57. Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
  58. EXIDX 0x0004cc 0x000084cc 0x000084cc 0x00008 0x00008 R 0x4
  59. PHDR 0x000034 0x00008034 0x00008034 0x000c0 0x000c0 R E 0x4
  60. INTERP 0x0000f4 0x000080f4 0x000080f4 0x00013 0x00013 R 0x1
  61. [Requesting program interpreter: /system/bin/linker]
  62. LOAD 0x000000 0x00008000 0x00008000 0x004d4 0x004d4 R E 0x1000
  63. LOAD 0x001000 0x00009000 0x00009000 0x000fc 0x00110 RW 0x1000
  64. DYNAMIC 0x001020 0x00009020 0x00009020 0x000c0 0x000c0 RW 0x4
  65.  
  66. Section to Segment mapping:
  67. Segment Sections...
  68. 00 .ARM.exidx
  69. 01
  70. 02 .interp
  71. 03 .interp .hash .dynsym .dynstr .rel.plt .plt .text .rodata .ARM.extab .ARM.exidx
  72. 04 .preinit_array .init_array .fini_array .ctors .dynamic .got .bss
  73. 05 .dynamic
  74.  
  75. Dynamic section at offset 0x1020 contains 19 entries:
  76. Tag Type Name/Value
  77. 0x00000001 (NEEDED) Shared library: [libc.so]
  78. 0x00000001 (NEEDED) Shared library: [libm.so]
  79. 0x00000020 (PREINIT_ARRAY) 0x9000
  80. 0x00000021 (PREINIT_ARRAYSZ) 0x8
  81. 0x00000019 (INIT_ARRAY) 0x9008
  82. 0x0000001b (INIT_ARRAYSZ) 8 (bytes)
  83. 0x0000001a (FINI_ARRAY) 0x9010
  84. 0x0000001c (FINI_ARRAYSZ) 8 (bytes)
  85. 0x00000004 (HASH) 0x8108
  86. 0x00000005 (STRTAB) 0x82e4
  87. 0x00000006 (SYMTAB) 0x81a4
  88. 0x0000000a (STRSZ) 211 (bytes)
  89. 0x0000000b (SYMENT) 16 (bytes)
  90. 0x00000015 (DEBUG) 0x0
  91. 0x00000003 (PLTGOT) 0x90e0
  92. 0x00000002 (PLTRELSZ) 32 (bytes)
  93. 0x00000014 (PLTREL) REL
  94. 0x00000017 (JMPREL) 0x83b8
  95. 0x00000000 (NULL) 0x0
  96.  
  97. Relocation section '.rel.plt' at offset 0x3b8 contains 4 entries:
  98. Offset Info Type Sym.Value Sym. Name
  99. 000090ec 00000316 R_ARM_JUMP_SLOT 000083ec puts
  100. 000090f0 00000416 R_ARM_JUMP_SLOT 000083f8 malloc
  101. 000090f4 00000916 R_ARM_JUMP_SLOT 00008404 __libc_init
  102. 000090f8 00001316 R_ARM_JUMP_SLOT 00008410 free
  103.  
  104. Unwind table index '.ARM.exidx' at offset 0x4cc contains 1 entries:
  105.  
  106. 0x8450 <main>: @0x84c0
  107. Compact model 1
  108. 0x9b vsp = r11
  109. 0x43 vsp = vsp - 16
  110. 0x86 0x81 pop {r4, r11, r13, r14}
  111. 0xb0 finish
  112. 0xb0 finish
  113.  
  114.  
  115. Symbol table '.dynsym' contains 20 entries:
  116. Num: Value Size Type Bind Vis Ndx Name
  117. 0: 00000000 0 NOTYPE LOCAL DEFAULT UND
  118. 1: 000084d4 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end
  119. 2: 00009110 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__
  120. 3: 000083ec 80 FUNC GLOBAL DEFAULT UND puts
  121. 4: 000083f8 28 FUNC GLOBAL DEFAULT UND malloc
  122. 5: 00009014 0 NOTYPE GLOBAL DEFAULT 13 __FINI_ARRAY__
  123. 6: 000090fc 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__
  124. 7: 00009100 0 NOTYPE GLOBAL DEFAULT 17 __dso_handle
  125. 8: 000084cc 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start
  126. 9: 00008404 60 FUNC GLOBAL DEFAULT UND __libc_init
  127. 10: 00009110 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__
  128. 11: 0000900c 0 NOTYPE GLOBAL DEFAULT 12 __INIT_ARRAY__
  129. 12: 000090fc 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
  130. 13: 00009110 0 NOTYPE GLOBAL DEFAULT ABS __end__
  131. 14: 000090fc 0 NOTYPE GLOBAL DEFAULT ABS _edata
  132. 15: 00009110 0 NOTYPE GLOBAL DEFAULT ABS _end
  133. 16: 00000000 8 FUNC GLOBAL DEFAULT UND __aeabi_unwind_cpp_pr1
  134. 17: 00080000 0 NOTYPE GLOBAL DEFAULT ABS _stack
  135. 18: 000090fc 0 NOTYPE GLOBAL DEFAULT ABS __data_start
  136. 19: 00008410 28 FUNC GLOBAL DEFAULT UND free
  137.  
  138. Symbol table '.symtab' contains 62 entries:
  139. Num: Value Size Type Bind Vis Ndx Name
  140. 0: 00000000 0 NOTYPE LOCAL DEFAULT UND
  141. 1: 000080f4 0 SECTION LOCAL DEFAULT 1
  142. 2: 00008108 0 SECTION LOCAL DEFAULT 2
  143. 3: 000081a4 0 SECTION LOCAL DEFAULT 3
  144. 4: 000082e4 0 SECTION LOCAL DEFAULT 4
  145. 5: 000083b8 0 SECTION LOCAL DEFAULT 5
  146. 6: 000083d8 0 SECTION LOCAL DEFAULT 6
  147. 7: 00008420 0 SECTION LOCAL DEFAULT 7
  148. 8: 000084b0 0 SECTION LOCAL DEFAULT 8
  149. 9: 000084c0 0 SECTION LOCAL DEFAULT 9
  150. 10: 000084cc 0 SECTION LOCAL DEFAULT 10
  151. 11: 00009000 0 SECTION LOCAL DEFAULT 11
  152. 12: 00009008 0 SECTION LOCAL DEFAULT 12
  153. 13: 00009010 0 SECTION LOCAL DEFAULT 13
  154. 14: 00009018 0 SECTION LOCAL DEFAULT 14
  155. 15: 00009020 0 SECTION LOCAL DEFAULT 15
  156. 16: 000090e0 0 SECTION LOCAL DEFAULT 16
  157. 17: 00009100 0 SECTION LOCAL DEFAULT 17
  158. 18: 00000000 0 SECTION LOCAL DEFAULT 18
  159. 19: 00000000 0 SECTION LOCAL DEFAULT 19
  160. 20: 00000000 0 SECTION LOCAL DEFAULT 20
  161. 21: 00000000 0 SECTION LOCAL DEFAULT 21
  162. 22: 00000000 0 SECTION LOCAL DEFAULT 22
  163. 23: 00008420 0 NOTYPE LOCAL DEFAULT 7 $a
  164. 24: 00008438 0 NOTYPE LOCAL DEFAULT 7 $d
  165. 25: 00009004 0 NOTYPE LOCAL DEFAULT 11 $d
  166. 26: 0000900c 0 NOTYPE LOCAL DEFAULT 12 $d
  167. 27: 00009014 0 NOTYPE LOCAL DEFAULT 13 $d
  168. 28: 00009018 0 NOTYPE LOCAL DEFAULT 14 $d
  169. 29: 00009100 0 NOTYPE LOCAL DEFAULT 17 $d
  170. 30: 00000000 0 FILE LOCAL DEFAULT ABS hello.c
  171. 31: 00008450 0 NOTYPE LOCAL DEFAULT 7 $a
  172. 32: 000084a8 0 NOTYPE LOCAL DEFAULT 7 $d
  173. 33: 00009000 0 NOTYPE LOCAL DEFAULT 11 $d
  174. 34: 00009008 0 NOTYPE LOCAL DEFAULT 12 $d
  175. 35: 00009010 0 NOTYPE LOCAL DEFAULT 13 $d
  176. 36: 0000901c 0 NOTYPE LOCAL DEFAULT 14 $d
  177. 37: 00009020 0 OBJECT LOCAL HIDDEN 15 _DYNAMIC
  178. 38: 000090e0 0 OBJECT LOCAL HIDDEN 16 _GLOBAL_OFFSET_TABLE_
  179. 39: 000084d4 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end
  180. 40: 00009110 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__
  181. 41: 000083ec 80 FUNC GLOBAL DEFAULT UND puts
  182. 42: 000083f8 28 FUNC GLOBAL DEFAULT UND malloc
  183. 43: 00009014 0 NOTYPE GLOBAL DEFAULT 13 __FINI_ARRAY__
  184. 44: 000090fc 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__
  185. 45: 00009100 0 NOTYPE GLOBAL DEFAULT 17 __dso_handle
  186. 46: 000084cc 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start
  187. 47: 00008404 60 FUNC GLOBAL DEFAULT UND __libc_init
  188. 48: 00009018 0 NOTYPE GLOBAL DEFAULT 14 __CTOR_LIST__
  189. 49: 00009110 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__
  190. 50: 00008420 0 FUNC GLOBAL DEFAULT 7 _start
  191. 51: 0000900c 0 NOTYPE GLOBAL DEFAULT 12 __INIT_ARRAY__
  192. 52: 000090fc 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
  193. 53: 00008450 96 FUNC GLOBAL DEFAULT 7 main
  194. 54: 00009110 0 NOTYPE GLOBAL DEFAULT ABS __end__
  195. 55: 00009004 0 NOTYPE GLOBAL DEFAULT 11 __PREINIT_ARRAY__
  196. 56: 000090fc 0 NOTYPE GLOBAL DEFAULT ABS _edata
  197. 57: 00009110 0 NOTYPE GLOBAL DEFAULT ABS _end
  198. 58: 00000000 8 FUNC GLOBAL DEFAULT UND __aeabi_unwind_cpp_pr1
  199. 59: 00080000 0 NOTYPE GLOBAL DEFAULT ABS _stack
  200. 60: 000090fc 0 NOTYPE GLOBAL DEFAULT ABS __data_start
  201. 61: 00008410 28 FUNC GLOBAL DEFAULT UND free
  202.  
  203. Histogram for bucket list length (total of 17 buckets):
  204. Length Number % of total Coverage
  205. 0 5 ( 29.4%)
  206. 1 8 ( 47.1%) 42.1%
  207. 2 2 ( 11.8%) 63.2%
  208. 3 1 ( 5.9%) 78.9%
  209. 4 1 ( 5.9%) 100.0%
  210.  
  211. No version information found in this file.
  212. Attribute Section: aeabi
  213. File Attributes
Advertisement
Add Comment
Please, Sign In to add comment