pub struct SBMemoryRegionInfo {
pub raw: SBMemoryRegionInfoRef,
}Expand description
Information about memory regions within a process.
See also:
Fields§
§raw: SBMemoryRegionInfoRefThe underlying raw SBMemoryRegionInfoRef.
Implementations§
Source§impl SBMemoryRegionInfo
impl SBMemoryRegionInfo
pub fn clear(&self)
Sourcepub fn get_region_base(&self) -> lldb_addr_t
pub fn get_region_base(&self) -> lldb_addr_t
Sourcepub fn get_region_end(&self) -> lldb_addr_t
pub fn get_region_end(&self) -> lldb_addr_t
Sourcepub fn is_readable(&self) -> bool
pub fn is_readable(&self) -> bool
Check if this memory address is marked readable to the process.
See also:
Sourcepub fn is_writable(&self) -> bool
pub fn is_writable(&self) -> bool
Check if this memory address is marked writable to the process.
See also:
Sourcepub fn is_executable(&self) -> bool
pub fn is_executable(&self) -> bool
Check if this memory address is marked executable to the process.
See also:
Sourcepub fn is_mapped(&self) -> bool
pub fn is_mapped(&self) -> bool
Check if this memory address is mapped into the process address space.
Sourcepub fn get_name(&self) -> Option<String>
pub fn get_name(&self) -> Option<String>
Returns the name of the memory region mapped at the given address.
In case of memory mapped files it is the absolute path of
the file, otherwise it is a name associated with the memory
region. If no name can be determined, it returns None.
Sourcepub fn has_dirty_memory_page_list(&self) -> bool
pub fn has_dirty_memory_page_list(&self) -> bool
Returns whether this memory region has a list of memory pages that have been modified – that are dirty.
The number of dirty pages may still be 0.
See also:
Sourcepub fn dirty_pages(&self) -> SBMemoryRegionInfoDirtyPageIter<'_>
pub fn dirty_pages(&self) -> SBMemoryRegionInfoDirtyPageIter<'_>
Returns an iterator over the addresses of modified pages in this region.
Check SBMemoryRegionInfo::has_dirty_memory_page_list() to
see if this information is available for this region.
Sourcepub fn get_page_size(&self) -> i32
pub fn get_page_size(&self) -> i32
Returns the size of a memory page in this region
or 0 if this information is unavailable.