Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.57 KB | None | 0 0
  1. all_alloc_descriptors is: malloc(Z)p calloc(zZ)p realloc(pZ)p memalign(zZ)p alloca(Z)p
  2. meta_instr_regexp is: ^([0-9a-f]*) <([^>]*)>.*((call|jmp).*(<((malloc)|(calloc)|(realloc)|(memalign)|(posix_memalign)|(valloc)|(__monalloca_)|( malloc)|(__wrap_malloc)|(calloc)|(__wrap_calloc)|(realloc)|(__wrap_realloc)|(memalign)|(__wrap_memalign)|(alloca)|(__wrap_alloca))|.*\*)|.* 00 00 00 00.*callq)
  3. objdumpmeta has meta_instr_regexp: ^([0-9a-f]*) <([^>]*)>.*((call|jmp).*(<((malloc)|(calloc)|(realloc)|(memalign)|(posix_memalign)|(valloc)|(__monalloca_)|( malloc)|(__wrap_malloc)|(calloc)|(__wrap_calloc)|(realloc)|(__wrap_realloc)|(memalign)|(__wrap_memalign)|(alloca)|(__wrap_alloca))|.*\*)|.* 00 00 00 00.*callq)
  4. Written allocsites output to /tmp/root/tmp.ko6S5mnF
  5. Written objdump output to /tmp/root/tmp.1ccPdjSJ
  6. Found allocation sites:
  7. 00000000004005d6 atexit@plt -0xa
  8. 00000000004005e0 atexit@plt
  9. 00000000004005f0 free@plt
  10. 0000000000400600 puts@plt
  11. 0000000000400610 printf@plt
  12. 0000000000400620 exit@plt
  13. 0000000000400630 fwrite@plt
  14. 0000000000400640 fprintf@plt
  15. 0000000000400650 malloc@plt
  16. 0000000000400660 _init_tls@plt
  17. 0000000000400757 _start +0xe7
  18. 00000000004007c7 _start +0x157
  19. 0000000000400831 finalizer +0x41
  20. 0000000000400875 deregister_tm_clones +0x25
  21. 00000000004008c3 register_tm_clones +0x33
  22. 000000000040090d __do_global_dtors_aux +0x3d
  23. 000000000040095e frame_dummy +0x1e
  24. 0000000000401602 __liballocs_get_alloc_info +0xef
  25. 0000000000401d30 __liballocs_notify_unset_type +0x1f
  26. 0000000000402001 pageindex_insert +0x39
  27. 00000000004021ba heapindex_insert +0x1f
  28. 00000000004023bd __wrap_malloc +0x3a
  29. 0000000000402410 __wrap_malloc +0x8d
  30. 0000000000402502 itree_insert +0x3e
  31. 0000000000402550 itree_insert +0x8c
  32. 00000000004025f3 itree_find +0x39
  33. 0000000000402614 itree_find +0x5a
  34. 0000000000402680 itree_inorder_traverse +0x3e
  35. 00000000004026b6 main +0x1a
  36. 0000000000402c54 __do_global_ctors_aux +0x24
  37. addr2line said 0x00000000004005d6 ??:0
  38. 0x00000000004005e0 ??:0
  39. 0x00000000004005f0 ??:0
  40. 0x0000000000400600 ??:0
  41. 0x0000000000400610 ??:0
  42. 0x0000000000400620 ??:0
  43. 0x0000000000400630 ??:0
  44. 0x0000000000400640 ??:0
  45. 0x0000000000400650 ??:0
  46. 0x0000000000400660 ??:0
  47. 0x0000000000400757 ??:?
  48. 0x00000000004007c7 ??:?
  49. 0x0000000000400831 /usr/src/lib/csu/amd64/crt1.c:?
  50. 0x0000000000400875 crtstuff.c:?
  51. 0x00000000004008c3 crtstuff.c:?
  52. 0x000000000040090d crtstuff.c:?
  53. 0x000000000040095e crtstuff.c:?
  54. 0x0000000000401602 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../liballocs.c:109
  55. 0x0000000000401d30 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../liballocs.c:349
  56. 0x0000000000402001 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../pageindex.c:33
  57. 0x00000000004021ba /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c:39
  58. 0x00000000004023bd /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c:158 (discriminator 1)
  59. 0x0000000000402410 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c:164
  60. 0x0000000000402502 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:22
  61. 0x0000000000402550 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:32
  62. 0x00000000004025f3 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:58
  63. 0x0000000000402614 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:59
  64. 0x0000000000402680 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:77
  65. 0x00000000004026b6 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/hello-heap.c:9
  66. 0x0000000000402c54 crtstuff.c:?
  67. addr2line temp file is /tmp/root/tmp.emYnqwxm
  68. regexp: ^00000000004005d6[[:blank:]]*<
  69. tail: : No such file or directory
  70. tail: : No such file or directory
  71. Warning: could not find source line for atexit@plt-0xa, skipping
  72. Context attempt was:
  73.  
  74. return_addr is 00000000004005dc
  75. return_addr_sym is atexit@plt
  76. return_addr_offset is 0x4
  77. regexp: ^00000000004005e0[[:blank:]]*<
  78. tail: : No such file or directory
  79. tail: : No such file or directory
  80. Warning: could not find source line for atexit@plt, skipping
  81. Context attempt was:
  82.  
  83. return_addr is 00000000004005e6
  84. return_addr_sym is atexit@plt
  85. return_addr_offset is 0x6
  86. regexp: ^00000000004005f0[[:blank:]]*<
  87. tail: : No such file or directory
  88. tail: : No such file or directory
  89. Warning: could not find source line for free@plt, skipping
  90. Context attempt was:
  91.  
  92. return_addr is 00000000004005f6
  93. return_addr_sym is free@plt
  94. return_addr_offset is 0x6
  95. regexp: ^0000000000400600[[:blank:]]*<
  96. tail: : No such file or directory
  97. tail: : No such file or directory
  98. Warning: could not find source line for puts@plt, skipping
  99. Context attempt was:
  100.  
  101. return_addr is 0000000000400606
  102. return_addr_sym is puts@plt
  103. return_addr_offset is 0x6
  104. regexp: ^0000000000400610[[:blank:]]*<
  105. tail: : No such file or directory
  106. tail: : No such file or directory
  107. Warning: could not find source line for printf@plt, skipping
  108. Context attempt was:
  109.  
  110. return_addr is 0000000000400616
  111. return_addr_sym is printf@plt
  112. return_addr_offset is 0x6
  113. regexp: ^0000000000400620[[:blank:]]*<
  114. tail: : No such file or directory
  115. tail: : No such file or directory
  116. Warning: could not find source line for exit@plt, skipping
  117. Context attempt was:
  118.  
  119. return_addr is 0000000000400626
  120. return_addr_sym is exit@plt
  121. return_addr_offset is 0x6
  122. regexp: ^0000000000400630[[:blank:]]*<
  123. tail: : No such file or directory
  124. tail: : No such file or directory
  125. Warning: could not find source line for fwrite@plt, skipping
  126. Context attempt was:
  127.  
  128. return_addr is 0000000000400636
  129. return_addr_sym is fwrite@plt
  130. return_addr_offset is 0x6
  131. regexp: ^0000000000400640[[:blank:]]*<
  132. tail: : No such file or directory
  133. tail: : No such file or directory
  134. Warning: could not find source line for fprintf@plt, skipping
  135. Context attempt was:
  136.  
  137. return_addr is 0000000000400646
  138. return_addr_sym is fprintf@plt
  139. return_addr_offset is 0x6
  140. regexp: ^0000000000400650[[:blank:]]*<
  141. tail: : No such file or directory
  142. tail: : No such file or directory
  143. Warning: could not find source line for malloc@plt, skipping
  144. Context attempt was:
  145.  
  146. return_addr is 0000000000400656
  147. return_addr_sym is malloc@plt
  148. return_addr_offset is 0x6
  149. regexp: ^0000000000400660[[:blank:]]*<
  150. tail: tail: : : No such file or directory
  151. No such file or directory
  152. Warning: could not find source line for _init_tls@plt, skipping
  153. Context attempt was:
  154.  
  155. return_addr is 0000000000400666
  156. return_addr_sym is _init_tls@plt
  157. return_addr_offset is 0x6
  158. regexp: ^0000000000400757[[:blank:]]*<
  159. tail: : No such file or directory
  160. tail: : No such file or directory
  161. Warning: could not find source line for _start+0xe7, skipping
  162. Context attempt was:
  163.  
  164. return_addr is 0000000000400759
  165. return_addr_sym is _start
  166. return_addr_offset is 0xe9
  167. regexp: ^00000000004007c7[[:blank:]]*<
  168. tail: : No such file or directory
  169. tail: : No such file or directory
  170. Warning: could not find source line for _start+0x157, skipping
  171. Context attempt was:
  172.  
  173. return_addr is 00000000004007c9
  174. return_addr_sym is _start
  175. return_addr_offset is 0x159
  176. regexp: ^0000000000400831[[:blank:]]*<
  177. tail: : No such file or directory
  178. tail: : No such file or directory
  179. Warning: could not find source line for finalizer+0x41, skipping
  180. Context attempt was:
  181.  
  182. return_addr is 0000000000400833
  183. return_addr_sym is finalizer
  184. return_addr_offset is 0x43
  185. Warning: filenames disagreed: addr2line '/usr/src/lib/csu/amd64/crt1.c', objdump ''
  186. regexp: ^0000000000400875[[:blank:]]*<
  187. tail: : No such file or directory
  188. tail: : No such file or directory
  189. Warning: could not find source line for deregister_tm_clones+0x25, skipping
  190. Context attempt was:
  191.  
  192. return_addr is 0000000000400877
  193. return_addr_sym is deregister_tm_clones
  194. return_addr_offset is 0x27
  195. Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
  196. regexp: ^00000000004008c3[[:blank:]]*<
  197. tail: : No such file or directory
  198. tail: : No such file or directory
  199. Warning: could not find source line for register_tm_clones+0x33, skipping
  200. Context attempt was:
  201.  
  202. return_addr is 00000000004008c5
  203. return_addr_sym is register_tm_clones
  204. return_addr_offset is 0x35
  205. Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
  206. regexp: ^000000000040090d[[:blank:]]*<
  207. tail: : No such file or directory
  208. tail: : No such file or directory
  209. Warning: could not find source line for __do_global_dtors_aux+0x3d, skipping
  210. Context attempt was:
  211.  
  212. return_addr is 0000000000400914
  213. return_addr_sym is __do_global_dtors_aux
  214. return_addr_offset is 0x44
  215. Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
  216. regexp: ^000000000040095e[[:blank:]]*<
  217. tail: tail: : : No such file or directory
  218. No such file or directory
  219. Warning: could not find source line for frame_dummy+0x1e, skipping
  220. Context attempt was:
  221.  
  222. return_addr is 0000000000400960
  223. return_addr_sym is frame_dummy
  224. return_addr_offset is 0x20
  225. Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
  226. regexp: ^0000000000401602[[:blank:]]*<
  227. tail: : No such file or directory
  228. tail: : No such file or directory
  229. Warning: could not find source line for __liballocs_get_alloc_info+0xef, skipping
  230. Context attempt was:
  231.  
  232. return_addr is 0000000000401604
  233. return_addr_sym is __liballocs_get_alloc_info
  234. return_addr_offset is 0xf1
  235. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../liballocs.c', objdump ''
  236. regexp: ^0000000000401d30[[:blank:]]*<
  237. tail: : No such file or directory
  238. tail: : No such file or directory
  239. Warning: could not find source line for __liballocs_notify_unset_type+0x1f, skipping
  240. Context attempt was:
  241.  
  242. return_addr is 0000000000401d35
  243. return_addr_sym is __liballocs_notify_unset_type
  244. return_addr_offset is 0x24
  245. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../liballocs.c', objdump ''
  246. regexp: ^0000000000402001[[:blank:]]*<
  247. tail: tail: : No such file or directory
  248. : No such file or directory
  249. Warning: could not find source line for pageindex_insert+0x39, skipping
  250. Context attempt was:
  251.  
  252. return_addr is 0000000000402006
  253. return_addr_sym is pageindex_insert
  254. return_addr_offset is 0x3e
  255. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../pageindex.c', objdump ''
  256. regexp: ^00000000004021ba[[:blank:]]*<
  257. tail: : No such file or directory
  258. tail: : No such file or directory
  259. Warning: could not find source line for heapindex_insert+0x1f, skipping
  260. Context attempt was:
  261.  
  262. return_addr is 00000000004021bf
  263. return_addr_sym is heapindex_insert
  264. return_addr_offset is 0x24
  265. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c', objdump ''
  266. regexp: ^00000000004023bd[[:blank:]]*<
  267. tail: : No such file or directory
  268. tail: : No such file or directory
  269. Warning: could not find source line for __wrap_malloc+0x3a, skipping
  270. Context attempt was:
  271.  
  272. return_addr is 00000000004023bf
  273. return_addr_sym is __wrap_malloc
  274. return_addr_offset is 0x3c
  275. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c', objdump ''
  276. regexp: ^0000000000402410[[:blank:]]*<
  277. tail: : No such file or directory
  278. tail: : No such file or directory
  279. Warning: could not find source line for __wrap_malloc+0x8d, skipping
  280. Context attempt was:
  281.  
  282. return_addr is 0000000000402415
  283. return_addr_sym is __wrap_malloc
  284. return_addr_offset is 0x92
  285. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c', objdump ''
  286. regexp: ^0000000000402502[[:blank:]]*<
  287. tail: : No such file or directory
  288. tail: : No such file or directory
  289. Warning: could not find source line for itree_insert+0x3e, skipping
  290. Context attempt was:
  291.  
  292. return_addr is 0000000000402504
  293. return_addr_sym is itree_insert
  294. return_addr_offset is 0x40
  295. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
  296. regexp: ^0000000000402550[[:blank:]]*<
  297. tail: : No such file or directory
  298. tail: : No such file or directory
  299. Warning: could not find source line for itree_insert+0x8c, skipping
  300. Context attempt was:
  301.  
  302. return_addr is 0000000000402555
  303. return_addr_sym is itree_insert
  304. return_addr_offset is 0x91
  305. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
  306. regexp: ^00000000004025f3[[:blank:]]*<
  307. tail: : No such file or directory
  308. tail: : No such file or directory
  309. Warning: could not find source line for itree_find+0x39, skipping
  310. Context attempt was:
  311.  
  312. return_addr is 00000000004025f5
  313. return_addr_sym is itree_find
  314. return_addr_offset is 0x3b
  315. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
  316. regexp: ^0000000000402614[[:blank:]]*<
  317. tail: : No such file or directory
  318. tail: : No such file or directory
  319. Warning: could not find source line for itree_find+0x5a, skipping
  320. Context attempt was:
  321.  
  322. return_addr is 0000000000402616
  323. return_addr_sym is itree_find
  324. return_addr_offset is 0x5c
  325. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
  326. regexp: ^0000000000402680[[:blank:]]*<
  327. tail: : No such file or directory
  328. tail: : No such file or directory
  329. Warning: could not find source line for itree_inorder_traverse+0x3e, skipping
  330. Context attempt was:
  331.  
  332. return_addr is 0000000000402682
  333. return_addr_sym is itree_inorder_traverse
  334. return_addr_offset is 0x40
  335. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
  336. regexp: ^00000000004026b6[[:blank:]]*<
  337. tail: : No such file or directory
  338. tail: : No such file or directory
  339. Warning: could not find source line for main+0x1a, skipping
  340. Context attempt was:
  341.  
  342. return_addr is 00000000004026bb
  343. return_addr_sym is main
  344. return_addr_offset is 0x1f
  345. Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/hello-heap.c', objdump ''
  346. regexp: ^0000000000402c54[[:blank:]]*<
  347. tail: : No such file or directory
  348. tail: : No such file or directory
  349. Warning: could not find source line for __do_global_ctors_aux+0x24, skipping
  350. Context attempt was:
  351.  
  352. return_addr is 0000000000402c56
  353. return_addr_sym is __do_global_ctors_aux
  354. return_addr_offset is 0x26
  355. Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement