LLDB  mainline
Public Types | Public Member Functions | Protected Attributes | List of all members
lldb_private::MemoryRegionInfo Class Reference

#include <MemoryRegionInfo.h>

Collaboration diagram for lldb_private::MemoryRegionInfo:
Collaboration graph
[legend]

Public Types

enum  OptionalBool { eDontKnow = -1, eNo = 0, eYes = 1 }
 
typedef Range< lldb::addr_t, lldb::addr_tRangeType
 

Public Member Functions

 MemoryRegionInfo ()
 
 ~MemoryRegionInfo ()
 
RangeTypeGetRange ()
 
void Clear ()
 
const RangeTypeGetRange () const
 
OptionalBool GetReadable () const
 
OptionalBool GetWritable () const
 
OptionalBool GetExecutable () const
 
OptionalBool GetMapped () const
 
ConstString GetName () const
 
void SetReadable (OptionalBool val)
 
void SetWritable (OptionalBool val)
 
void SetExecutable (OptionalBool val)
 
void SetMapped (OptionalBool val)
 
void SetName (const char *name)
 
OptionalBool GetFlash () const
 
void SetFlash (OptionalBool val)
 
lldb::offset_t GetBlocksize () const
 
void SetBlocksize (lldb::offset_t blocksize)
 
uint32_t GetLLDBPermissions () const
 
void SetLLDBPermissions (uint32_t permissions)
 
bool operator== (const MemoryRegionInfo &rhs) const
 
bool operator!= (const MemoryRegionInfo &rhs) const
 

Protected Attributes

RangeType m_range
 
OptionalBool m_read
 
OptionalBool m_write
 
OptionalBool m_execute
 
OptionalBool m_mapped
 
ConstString m_name
 
OptionalBool m_flash
 
lldb::offset_t m_blocksize
 

Detailed Description

Definition at line 18 of file MemoryRegionInfo.h.

Member Typedef Documentation

◆ RangeType

Definition at line 20 of file MemoryRegionInfo.h.

Member Enumeration Documentation

◆ OptionalBool

Enumerator
eDontKnow 
eNo 
eYes 

Definition at line 22 of file MemoryRegionInfo.h.

Constructor & Destructor Documentation

◆ MemoryRegionInfo()

lldb_private::MemoryRegionInfo::MemoryRegionInfo ( )
inline

Definition at line 24 of file MemoryRegionInfo.h.

◆ ~MemoryRegionInfo()

lldb_private::MemoryRegionInfo::~MemoryRegionInfo ( )
inline

Definition at line 28 of file MemoryRegionInfo.h.

Member Function Documentation

◆ Clear()

void lldb_private::MemoryRegionInfo::Clear ( )
inline

◆ GetBlocksize()

lldb::offset_t lldb_private::MemoryRegionInfo::GetBlocksize ( ) const
inline

◆ GetExecutable()

OptionalBool lldb_private::MemoryRegionInfo::GetExecutable ( ) const
inline

◆ GetFlash()

OptionalBool lldb_private::MemoryRegionInfo::GetFlash ( ) const
inline

◆ GetLLDBPermissions()

uint32_t lldb_private::MemoryRegionInfo::GetLLDBPermissions ( ) const
inline

Definition at line 69 of file MemoryRegionInfo.h.

References m_execute, m_read, and m_write.

◆ GetMapped()

OptionalBool lldb_private::MemoryRegionInfo::GetMapped ( ) const
inline

◆ GetName()

ConstString lldb_private::MemoryRegionInfo::GetName ( ) const
inline

◆ GetRange() [1/2]

RangeType& lldb_private::MemoryRegionInfo::GetRange ( )
inline

◆ GetRange() [2/2]

const RangeType& lldb_private::MemoryRegionInfo::GetRange ( ) const
inline

Definition at line 37 of file MemoryRegionInfo.h.

References m_range.

◆ GetReadable()

OptionalBool lldb_private::MemoryRegionInfo::GetReadable ( ) const
inline

◆ GetWritable()

OptionalBool lldb_private::MemoryRegionInfo::GetWritable ( ) const
inline

◆ operator!=()

bool lldb_private::MemoryRegionInfo::operator!= ( const MemoryRegionInfo rhs) const
inline

Definition at line 94 of file MemoryRegionInfo.h.

◆ operator==()

bool lldb_private::MemoryRegionInfo::operator== ( const MemoryRegionInfo rhs) const
inline

Definition at line 88 of file MemoryRegionInfo.h.

References m_execute, m_mapped, m_range, m_read, and m_write.

◆ SetBlocksize()

void lldb_private::MemoryRegionInfo::SetBlocksize ( lldb::offset_t  blocksize)
inline

◆ SetExecutable()

void lldb_private::MemoryRegionInfo::SetExecutable ( OptionalBool  val)
inline

◆ SetFlash()

void lldb_private::MemoryRegionInfo::SetFlash ( OptionalBool  val)
inline

◆ SetLLDBPermissions()

void lldb_private::MemoryRegionInfo::SetLLDBPermissions ( uint32_t  permissions)
inline

Definition at line 82 of file MemoryRegionInfo.h.

References eNo, eYes, m_execute, m_read, and m_write.

◆ SetMapped()

void lldb_private::MemoryRegionInfo::SetMapped ( OptionalBool  val)
inline

◆ SetName()

void lldb_private::MemoryRegionInfo::SetName ( const char *  name)
inline

◆ SetReadable()

void lldb_private::MemoryRegionInfo::SetReadable ( OptionalBool  val)
inline

◆ SetWritable()

void lldb_private::MemoryRegionInfo::SetWritable ( OptionalBool  val)
inline

Member Data Documentation

◆ m_blocksize

lldb::offset_t lldb_private::MemoryRegionInfo::m_blocksize
protected

Definition at line 104 of file MemoryRegionInfo.h.

Referenced by GetBlocksize(), and SetBlocksize().

◆ m_execute

OptionalBool lldb_private::MemoryRegionInfo::m_execute
protected

◆ m_flash

OptionalBool lldb_private::MemoryRegionInfo::m_flash
protected

Definition at line 103 of file MemoryRegionInfo.h.

Referenced by GetFlash(), and SetFlash().

◆ m_mapped

OptionalBool lldb_private::MemoryRegionInfo::m_mapped
protected

Definition at line 101 of file MemoryRegionInfo.h.

Referenced by GetMapped(), operator==(), and SetMapped().

◆ m_name

ConstString lldb_private::MemoryRegionInfo::m_name
protected

Definition at line 102 of file MemoryRegionInfo.h.

Referenced by GetName(), and SetName().

◆ m_range

RangeType lldb_private::MemoryRegionInfo::m_range
protected

Definition at line 97 of file MemoryRegionInfo.h.

Referenced by Clear(), GetRange(), and operator==().

◆ m_read

OptionalBool lldb_private::MemoryRegionInfo::m_read
protected

◆ m_write

OptionalBool lldb_private::MemoryRegionInfo::m_write
protected

The documentation for this class was generated from the following file: