Go to the documentation of this file.
10 #ifndef LLDB_TARGET_MEMORYREGIONINFO_H
11 #define LLDB_TARGET_MEMORYREGIONINFO_H
18 #include "llvm/Support/FormatProviders.h"
85 permissions |= lldb::ePermissionsReadable;
87 permissions |= lldb::ePermissionsWritable;
89 permissions |= lldb::ePermissionsExecutable;
96 m_read = (permissions & lldb::ePermissionsReadable) ?
eYes :
eNo;
168 llvm::raw_ostream &
operator<<(llvm::raw_ostream &OS,
169 const MemoryRegionInfo &Info);
174 using std::vector<lldb_private::MemoryRegionInfo>::vector;
187 raw_ostream &OS, StringRef Options);
191 #endif // LLDB_TARGET_MEMORYREGIONINFO_H
BaseType GetRangeBase() const
void SetBlocksize(lldb::offset_t blocksize)
void SetName(const char *name)
lldb::offset_t m_blocksize
uint32_t GetLLDBPermissions() const
OptionalBool m_memory_tagged
void SetMemoryTagged(OptionalBool val)
void SetReadable(OptionalBool val)
OptionalBool GetMemoryTagged() const
bool operator!=(const MemoryRegionInfo &rhs) const
bool operator==(const MemoryRegionInfo &rhs) const
std::optional< std::vector< lldb::addr_t > > m_dirty_pages
OptionalBool GetShared() const
OptionalBool GetWritable() const
OptionalBool m_is_stack_memory
Range< lldb::addr_t, lldb::addr_t > RangeType
OptionalBool GetExecutable() const
void SetDirtyPageList(std::vector< lldb::addr_t > pagelist)
void SetExecutable(OptionalBool val)
ConstString GetName() const
void SetPageSize(int pagesize)
void SetFlash(OptionalBool val)
void SetLLDBPermissions(uint32_t permissions)
void SetWritable(OptionalBool val)
OptionalBool GetFlash() const
lldb::offset_t GetBlocksize() const
MemoryRegionInfo(RangeType range, OptionalBool read, OptionalBool write, OptionalBool execute, OptionalBool shared, OptionalBool mapped, ConstString name, OptionalBool flash, lldb::offset_t blocksize, OptionalBool memory_tagged, OptionalBool stack_memory)
Stream & operator<<(Stream &s, const SourceLocationSpec &loc)
Dump a SourceLocationSpec object to a stream.
void SetMapped(OptionalBool val)
const RangeType & GetRange() const
bool operator<(const Address &lhs, const Address &rhs)
OptionalBool IsStackMemory() const
A class that represents a running process on the host machine.
MemoryRegionInfo()=default
const std::optional< std::vector< lldb::addr_t > > & GetDirtyPageList() const
Get a vector of target VM pages that are dirty – that have been modified – within this memory region.
OptionalBool GetMapped() const
void SetIsStackMemory(OptionalBool val)
void SetShared(OptionalBool val)
OptionalBool GetReadable() const
int GetPageSize() const
Get the target system's VM page size in bytes.