I have an application running in debug mode in Xcode. I want to inspect entire memory of application (stack and heap). I know that I can use lldb for making dumps. I use following command:
(lldb) memory read --outfile filename address
eg.
(lldb) memory read --outfile /tmp/mem-dump.txt --force --count 10000 0x000000010d051000
, but I need specify start address and size of a memory. I do not know how to find regions of memory that my app occupies to make a dump. Is there possibility to find address space of a memory? Maybe other way to make a dump (not using lldb) exist? I do not use jailbroken device.
