summaryrefslogtreecommitdiffstats
path: root/lldb/examples/darwin/heap_find/heap_find.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded files.Greg Clayton2012-04-251-332/+0
| | | | llvm-svn: 155524
* Added code to automatically load the libheap.dylib when ptr_refs, cstr_refs ↵Greg Clayton2012-04-211-0/+3
| | | | | | or malloc_info are called. If MallocStackLogging is enabled, then you can now use --stack to dump the backtrace of the code that allocated each malloc block. llvm-svn: 155262
* A few tweaks done to the heap.py in me free time where we now have:Greg Clayton2012-04-121-95/+141
| | | | | | | | | | | | | | | (lldb) command script import heap.py Find all malloc blocks that contains a pointer value of 0x1234000: (lldb) ptr_refs 0x1234000 Find all malloc blocks that contain a C string: (lldb) cstr_refs "hello" Get info on a malloc block that starts at or contains 0x12340000 (lldb) malloc_info 0x12340000 llvm-svn: 154602
* Added a new "heap.py" module that adds a new command line command that can ↵Greg Clayton2012-04-111-40/+63
| | | | | | find values on the heap and print out the dynamic type of the malloc block that contains the data. I will be modifying this a bit more to tweak the output and make the output more useful. llvm-svn: 154504
* Added more documentation in the header file to explain how to use the ↵Greg Clayton2012-04-101-1/+34
| | | | | | results that are found by the function calls to find_pointer_in_heap(). llvm-svn: 154435
* Fixed head_find to compile again.Greg Clayton2012-04-101-0/+227
llvm-svn: 154419
OpenPOWER on IntegriCloud