Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
lldb
/
9098fee45dc61264a9fe54d075751e76f7de610f
/
examples
/
darwin
/
heap_find
/
heap.py
9098fee
Added code to automatically load the libheap.dylib when ptr_refs, cstr_refs 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.
by Greg Clayton
· 13 years ago
93e5ba5
Added a --memory option to allow dumping the matching malloc block memory with a default format that makes sense, or that format can be overridden with the --format option.
by Greg Clayton
· 13 years ago
f5902cb
Fixed some expression issues after switching to void * args.
by Greg Clayton
· 13 years ago
bff7841
A few tweaks done to the heap.py in me free time where we now have:
by Greg Clayton
· 13 years ago
9666644
Cleaned up the code and we now also dump the dynamic object for the malloc block. Using this on the lldb/test/lang/objc/foundation test we can see this in action:
by Greg Clayton
· 13 years ago
466ea1f
Get rid of absolute path in "process load" command.
by Greg Clayton
· 13 years ago
e93e24f
Added a new "heap.py" module that adds a new command line command that can 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.
by Greg Clayton
· 13 years ago