class MemoryDump
Defined at line 24 of file ../../src/developer/debug/zxdb/client/memory_dump.h
Memory in a debugged process can be mapped or not mapped. This dump object represents a view into
memory consisting of a sequence of these blocks.
This class also serves as an implementation of |unwinder::Memory|, which allows the unwinder to
access memory that has been pre-fetched from the target process when we're trying to unwind
on the host using extra debug info.
Public Methods
void MemoryDump ()
Defined at line 14 of file ../../src/developer/debug/zxdb/client/memory_dump.cc
void MemoryDump (std::vector<debug_ipc::MemoryBlock> && blocks)
Defined at line 15 of file ../../src/developer/debug/zxdb/client/memory_dump.cc
void ~MemoryDump ()
Defined at line 16 of file ../../src/developer/debug/zxdb/client/memory_dump.cc
bool AllValid ()
Returns true if every block in this memory dump is valid.
Defined at line 18 of file ../../src/developer/debug/zxdb/client/memory_dump.cc
unwinder::Error ReadBytes (uint64_t addr, uint64_t size, void * dest)
Defined at line 29 of file ../../src/developer/debug/zxdb/client/memory_dump.cc
uint64_t address ()
Returns the begin address of this dump.
Defined at line 31 of file ../../src/developer/debug/zxdb/client/memory_dump.h
bool GetByte (uint64_t address, uint8_t * byte)
Helper function to read out of the memory. If the given address is outside the range or is not
mapped, returns false. Otherwise fills it into the given output.
Defined at line 33 of file ../../src/developer/debug/zxdb/client/memory_dump.cc
uint64_t size ()
Returns the total size covered by this memory dump.
Defined at line 38 of file ../../src/developer/debug/zxdb/client/memory_dump.h
const std::vector<debug_ipc::MemoryBlock> & blocks ()
The blocks in the memory dump will be contiguous. Anything not mapped will be represented by a
block marked not valid.
Defined at line 51 of file ../../src/developer/debug/zxdb/client/memory_dump.h