10#ifndef LLDB_TARGET_MEMORYREGIONINFO_H
11#define LLDB_TARGET_MEMORYREGIONINFO_H
18#include "llvm/Support/FormatProviders.h"
87 uint32_t permissions = 0;
89 permissions |= lldb::ePermissionsReadable;
91 permissions |= lldb::ePermissionsWritable;
93 permissions |= lldb::ePermissionsExecutable;
178 const MemoryRegionInfo &Info);
A uniqued constant string class.
LazyBool GetMapped() const
void SetReadable(LazyBool val)
int GetPageSize() const
Get the target system's VM page size in bytes.
LazyBool GetReadable() const
LazyBool GetFlash() const
lldb::offset_t m_blocksize
LazyBool GetShared() const
MemoryRegionInfo & SetMemoryTagged(LazyBool val)
void SetBlocksize(lldb::offset_t blocksize)
bool operator!=(const MemoryRegionInfo &rhs) const
LazyBool m_is_shadow_stack
ConstString GetName() const
LazyBool GetExecutable() const
void SetFlash(LazyBool val)
std::optional< std::vector< lldb::addr_t > > m_dirty_pages
uint32_t GetLLDBPermissions() const
void SetPageSize(int pagesize)
void SetName(const char *name)
bool operator==(const MemoryRegionInfo &rhs) const
Range< lldb::addr_t, lldb::addr_t > RangeType
MemoryRegionInfo & SetIsShadowStack(LazyBool val)
LazyBool IsShadowStack() const
lldb::offset_t GetBlocksize() const
const RangeType & GetRange() const
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.
LazyBool GetWritable() const
MemoryRegionInfo(RangeType range, LazyBool read, LazyBool write, LazyBool execute, LazyBool shared, LazyBool mapped, ConstString name)
void SetDirtyPageList(std::vector< lldb::addr_t > pagelist)
LazyBool m_is_stack_memory
void SetLLDBPermissions(uint32_t permissions)
void SetIsStackMemory(LazyBool val)
LazyBool IsStackMemory() const
LazyBool GetMemoryTagged() const
void SetMapped(LazyBool val)
void SetShared(LazyBool val)
void SetExecutable(LazyBool val)
MemoryRegionInfo()=default
void SetWritable(LazyBool val)
A class that represents a running process on the host machine.
Stream & operator<<(Stream &s, const Mangled &obj)
bool operator<(const Address &lhs, const Address &rhs)
BaseType GetRangeBase() const