[lldb-dev] reading raw binary ram dump into memory

Greg Clayton gclayton at apple.com
Mon Jul 15 13:11:41 PDT 2013


On Jul 12, 2013, at 5:03 PM, "Chen, Charlie" <charliec at qti.qualcomm.com> wrote:

> Hi all,
>  
> I’m new to lldb and am trying to accomplish the following:
>  
> Look up symbol from elf file for address offset
> Read ram dump into memory using offset
>  
> Looking up the symbols etc is all very straight forward, but given this offset (say 0x10000), how do I read the contents of a separate .bin file into memory to be read/accessed?

(lldb) memory write --infile /path/to/foo.bin 0x10000









More information about the lldb-dev mailing list