reading raw binary ram dump into memory

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?

Thanks so much

Charlie

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