SBMemoryRegionInfo#

class lldb.SBMemoryRegionInfo(*args)#

API clients can get information about memory regions in processes.

Methods Summary

Clear(SBMemoryRegionInfo self)

GetDescription(SBMemoryRegionInfo self, ...)

GetDirtyPageAddressAtIndex(...)

Return the address of a modified, or dirty, page of memory.

GetName(SBMemoryRegionInfo self)

GetNumDirtyPages(SBMemoryRegionInfo self)

Return the number of dirty (modified) memory pages in this memory region, if available.

GetPageSize(SBMemoryRegionInfo self)

Return the size of pages in this memory region.

GetRegionBase(SBMemoryRegionInfo self)

GetRegionEnd(SBMemoryRegionInfo self)

HasDirtyMemoryPageList(SBMemoryRegionInfo self)

Returns whether this memory region has a list of modified (dirty) pages available or not.

IsExecutable(SBMemoryRegionInfo self)

IsMapped(SBMemoryRegionInfo self)

IsReadable(SBMemoryRegionInfo self)

IsWritable(SBMemoryRegionInfo self)

Methods Documentation

Clear(SBMemoryRegionInfo self)#
GetDescription(SBMemoryRegionInfo self, SBStream description) bool#
GetDirtyPageAddressAtIndex(SBMemoryRegionInfo self, uint32_t idx) lldb::addr_t#

Return the address of a modified, or dirty, page of memory. If the provided index is out of range, or this memory region does not have dirty page information, LLDB_INVALID_ADDRESS is returned.

GetName(SBMemoryRegionInfo self) char const *#
GetNumDirtyPages(SBMemoryRegionInfo self) uint32_t#

Return the number of dirty (modified) memory pages in this memory region, if available. You must use the SBMemoryRegionInfo::HasDirtyMemoryPageList() method to determine if a dirty memory list is available; it will depend on the target system can provide this information.

GetPageSize(SBMemoryRegionInfo self) int#

Return the size of pages in this memory region. 0 will be returned if this information was unavailable.

GetRegionBase(SBMemoryRegionInfo self) lldb::addr_t#
GetRegionEnd(SBMemoryRegionInfo self) lldb::addr_t#
HasDirtyMemoryPageList(SBMemoryRegionInfo self) bool#

Returns whether this memory region has a list of modified (dirty) pages available or not. When calling GetNumDirtyPages(), you will have 0 returned for both “dirty page list is not known” and “empty dirty page list” (that is, no modified pages in this memory region). You must use this method to disambiguate.

IsExecutable(SBMemoryRegionInfo self) bool#
IsMapped(SBMemoryRegionInfo self) bool#
IsReadable(SBMemoryRegionInfo self) bool#
IsWritable(SBMemoryRegionInfo self) bool#