9#ifndef LLDB_API_SBMEMORYREGIONINFO_H
10#define LLDB_API_SBMEMORYREGIONINFO_H
24 uint32_t permissions,
bool mapped,
25 bool stack_memory =
false);
static llvm::StringRef GetName(XcodeSDK::Type type)
lldb_private::MemoryRegionInfo & ref()
bool IsMapped()
Check if this memory address is mapped into the process address space.
bool IsReadable()
Check if this memory address is marked readable to the process.
int GetPageSize()
Returns the size of a memory page in this region.
bool operator==(const lldb::SBMemoryRegionInfo &rhs) const
friend class SBSaveCoreOptions
addr_t GetDirtyPageAddressAtIndex(uint32_t idx)
Returns the address of a memory page that has been modified in this region.
lldb::addr_t GetRegionBase()
Get the base address of this memory range.
bool operator!=(const lldb::SBMemoryRegionInfo &rhs) const
bool HasDirtyMemoryPageList()
Returns whether this memory region has a list of memory pages that have been modified – that are dirt...
const lldb::SBMemoryRegionInfo & operator=(const lldb::SBMemoryRegionInfo &rhs)
bool IsWritable()
Check if this memory address is marked writable to the process.
lldb::addr_t GetRegionEnd()
Get the end address of this memory range.
lldb::MemoryRegionInfoUP m_opaque_up
bool IsExecutable()
Check if this memory address is marked executable to the process.
friend class SBMemoryRegionInfoList
uint32_t GetNumDirtyPages()
Returns the number of modified pages – dirty pages – in this memory region.
bool GetDescription(lldb::SBStream &description)
writes a description of the memory region to a SBStream.
std::unique_ptr< lldb_private::MemoryRegionInfo > MemoryRegionInfoUP