Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- all_alloc_descriptors is: malloc(Z)p calloc(zZ)p realloc(pZ)p memalign(zZ)p alloca(Z)p
- 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)
- 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)
- Written allocsites output to /tmp/root/tmp.ko6S5mnF
- Written objdump output to /tmp/root/tmp.1ccPdjSJ
- Found allocation sites:
- 00000000004005d6 atexit@plt -0xa
- 00000000004005e0 atexit@plt
- 00000000004005f0 free@plt
- 0000000000400600 puts@plt
- 0000000000400610 printf@plt
- 0000000000400620 exit@plt
- 0000000000400630 fwrite@plt
- 0000000000400640 fprintf@plt
- 0000000000400650 malloc@plt
- 0000000000400660 _init_tls@plt
- 0000000000400757 _start +0xe7
- 00000000004007c7 _start +0x157
- 0000000000400831 finalizer +0x41
- 0000000000400875 deregister_tm_clones +0x25
- 00000000004008c3 register_tm_clones +0x33
- 000000000040090d __do_global_dtors_aux +0x3d
- 000000000040095e frame_dummy +0x1e
- 0000000000401602 __liballocs_get_alloc_info +0xef
- 0000000000401d30 __liballocs_notify_unset_type +0x1f
- 0000000000402001 pageindex_insert +0x39
- 00000000004021ba heapindex_insert +0x1f
- 00000000004023bd __wrap_malloc +0x3a
- 0000000000402410 __wrap_malloc +0x8d
- 0000000000402502 itree_insert +0x3e
- 0000000000402550 itree_insert +0x8c
- 00000000004025f3 itree_find +0x39
- 0000000000402614 itree_find +0x5a
- 0000000000402680 itree_inorder_traverse +0x3e
- 00000000004026b6 main +0x1a
- 0000000000402c54 __do_global_ctors_aux +0x24
- addr2line said 0x00000000004005d6 ??:0
- 0x00000000004005e0 ??:0
- 0x00000000004005f0 ??:0
- 0x0000000000400600 ??:0
- 0x0000000000400610 ??:0
- 0x0000000000400620 ??:0
- 0x0000000000400630 ??:0
- 0x0000000000400640 ??:0
- 0x0000000000400650 ??:0
- 0x0000000000400660 ??:0
- 0x0000000000400757 ??:?
- 0x00000000004007c7 ??:?
- 0x0000000000400831 /usr/src/lib/csu/amd64/crt1.c:?
- 0x0000000000400875 crtstuff.c:?
- 0x00000000004008c3 crtstuff.c:?
- 0x000000000040090d crtstuff.c:?
- 0x000000000040095e crtstuff.c:?
- 0x0000000000401602 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../liballocs.c:109
- 0x0000000000401d30 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../liballocs.c:349
- 0x0000000000402001 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../pageindex.c:33
- 0x00000000004021ba /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c:39
- 0x00000000004023bd /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c:158 (discriminator 1)
- 0x0000000000402410 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c:164
- 0x0000000000402502 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:22
- 0x0000000000402550 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:32
- 0x00000000004025f3 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:58
- 0x0000000000402614 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:59
- 0x0000000000402680 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c:77
- 0x00000000004026b6 /usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/hello-heap.c:9
- 0x0000000000402c54 crtstuff.c:?
- addr2line temp file is /tmp/root/tmp.emYnqwxm
- regexp: ^00000000004005d6[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for atexit@plt-0xa, skipping
- Context attempt was:
- return_addr is 00000000004005dc
- return_addr_sym is atexit@plt
- return_addr_offset is 0x4
- regexp: ^00000000004005e0[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for atexit@plt, skipping
- Context attempt was:
- return_addr is 00000000004005e6
- return_addr_sym is atexit@plt
- return_addr_offset is 0x6
- regexp: ^00000000004005f0[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for free@plt, skipping
- Context attempt was:
- return_addr is 00000000004005f6
- return_addr_sym is free@plt
- return_addr_offset is 0x6
- regexp: ^0000000000400600[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for puts@plt, skipping
- Context attempt was:
- return_addr is 0000000000400606
- return_addr_sym is puts@plt
- return_addr_offset is 0x6
- regexp: ^0000000000400610[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for printf@plt, skipping
- Context attempt was:
- return_addr is 0000000000400616
- return_addr_sym is printf@plt
- return_addr_offset is 0x6
- regexp: ^0000000000400620[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for exit@plt, skipping
- Context attempt was:
- return_addr is 0000000000400626
- return_addr_sym is exit@plt
- return_addr_offset is 0x6
- regexp: ^0000000000400630[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for fwrite@plt, skipping
- Context attempt was:
- return_addr is 0000000000400636
- return_addr_sym is fwrite@plt
- return_addr_offset is 0x6
- regexp: ^0000000000400640[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for fprintf@plt, skipping
- Context attempt was:
- return_addr is 0000000000400646
- return_addr_sym is fprintf@plt
- return_addr_offset is 0x6
- regexp: ^0000000000400650[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for malloc@plt, skipping
- Context attempt was:
- return_addr is 0000000000400656
- return_addr_sym is malloc@plt
- return_addr_offset is 0x6
- regexp: ^0000000000400660[[:blank:]]*<
- tail: tail: : : No such file or directory
- No such file or directory
- Warning: could not find source line for _init_tls@plt, skipping
- Context attempt was:
- return_addr is 0000000000400666
- return_addr_sym is _init_tls@plt
- return_addr_offset is 0x6
- regexp: ^0000000000400757[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for _start+0xe7, skipping
- Context attempt was:
- return_addr is 0000000000400759
- return_addr_sym is _start
- return_addr_offset is 0xe9
- regexp: ^00000000004007c7[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for _start+0x157, skipping
- Context attempt was:
- return_addr is 00000000004007c9
- return_addr_sym is _start
- return_addr_offset is 0x159
- regexp: ^0000000000400831[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for finalizer+0x41, skipping
- Context attempt was:
- return_addr is 0000000000400833
- return_addr_sym is finalizer
- return_addr_offset is 0x43
- Warning: filenames disagreed: addr2line '/usr/src/lib/csu/amd64/crt1.c', objdump ''
- regexp: ^0000000000400875[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for deregister_tm_clones+0x25, skipping
- Context attempt was:
- return_addr is 0000000000400877
- return_addr_sym is deregister_tm_clones
- return_addr_offset is 0x27
- Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
- regexp: ^00000000004008c3[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for register_tm_clones+0x33, skipping
- Context attempt was:
- return_addr is 00000000004008c5
- return_addr_sym is register_tm_clones
- return_addr_offset is 0x35
- Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
- regexp: ^000000000040090d[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for __do_global_dtors_aux+0x3d, skipping
- Context attempt was:
- return_addr is 0000000000400914
- return_addr_sym is __do_global_dtors_aux
- return_addr_offset is 0x44
- Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
- regexp: ^000000000040095e[[:blank:]]*<
- tail: tail: : : No such file or directory
- No such file or directory
- Warning: could not find source line for frame_dummy+0x1e, skipping
- Context attempt was:
- return_addr is 0000000000400960
- return_addr_sym is frame_dummy
- return_addr_offset is 0x20
- Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
- regexp: ^0000000000401602[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for __liballocs_get_alloc_info+0xef, skipping
- Context attempt was:
- return_addr is 0000000000401604
- return_addr_sym is __liballocs_get_alloc_info
- return_addr_offset is 0xf1
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../liballocs.c', objdump ''
- regexp: ^0000000000401d30[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for __liballocs_notify_unset_type+0x1f, skipping
- Context attempt was:
- return_addr is 0000000000401d35
- return_addr_sym is __liballocs_notify_unset_type
- return_addr_offset is 0x24
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../liballocs.c', objdump ''
- regexp: ^0000000000402001[[:blank:]]*<
- tail: tail: : No such file or directory
- : No such file or directory
- Warning: could not find source line for pageindex_insert+0x39, skipping
- Context attempt was:
- return_addr is 0000000000402006
- return_addr_sym is pageindex_insert
- return_addr_offset is 0x3e
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../pageindex.c', objdump ''
- regexp: ^00000000004021ba[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for heapindex_insert+0x1f, skipping
- Context attempt was:
- return_addr is 00000000004021bf
- return_addr_sym is heapindex_insert
- return_addr_offset is 0x24
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c', objdump ''
- regexp: ^00000000004023bd[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for __wrap_malloc+0x3a, skipping
- Context attempt was:
- return_addr is 00000000004023bf
- return_addr_sym is __wrap_malloc
- return_addr_offset is 0x3c
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c', objdump ''
- regexp: ^0000000000402410[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for __wrap_malloc+0x8d, skipping
- Context attempt was:
- return_addr is 0000000000402415
- return_addr_sym is __wrap_malloc
- return_addr_offset is 0x92
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../allocators/generic_malloc.c', objdump ''
- regexp: ^0000000000402502[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for itree_insert+0x3e, skipping
- Context attempt was:
- return_addr is 0000000000402504
- return_addr_sym is itree_insert
- return_addr_offset is 0x40
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
- regexp: ^0000000000402550[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for itree_insert+0x8c, skipping
- Context attempt was:
- return_addr is 0000000000402555
- return_addr_sym is itree_insert
- return_addr_offset is 0x91
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
- regexp: ^00000000004025f3[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for itree_find+0x39, skipping
- Context attempt was:
- return_addr is 00000000004025f5
- return_addr_sym is itree_find
- return_addr_offset is 0x3b
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
- regexp: ^0000000000402614[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for itree_find+0x5a, skipping
- Context attempt was:
- return_addr is 0000000000402616
- return_addr_sym is itree_find
- return_addr_offset is 0x5c
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
- regexp: ^0000000000402680[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for itree_inorder_traverse+0x3e, skipping
- Context attempt was:
- return_addr is 0000000000402682
- return_addr_sym is itree_inorder_traverse
- return_addr_offset is 0x40
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/../../index_tree.c', objdump ''
- regexp: ^00000000004026b6[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for main+0x1a, skipping
- Context attempt was:
- return_addr is 00000000004026bb
- return_addr_sym is main
- return_addr_offset is 0x1f
- Warning: filenames disagreed: addr2line '/usr/local/src/part2-dissertation-code/libcrunchk/test/hello-heap/hello-heap.c', objdump ''
- regexp: ^0000000000402c54[[:blank:]]*<
- tail: : No such file or directory
- tail: : No such file or directory
- Warning: could not find source line for __do_global_ctors_aux+0x24, skipping
- Context attempt was:
- return_addr is 0000000000402c56
- return_addr_sym is __do_global_ctors_aux
- return_addr_offset is 0x26
- Warning: filenames disagreed: addr2line 'crtstuff.c', objdump ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement