LLDB  mainline
Public Member Functions | Friends | List of all members
lldb::SBMemoryRegionInfo Class Reference

#include <SBMemoryRegionInfo.h>

Public Member Functions

 SBMemoryRegionInfo ()
 
 SBMemoryRegionInfo (const lldb::SBMemoryRegionInfo &rhs)
 
 ~SBMemoryRegionInfo ()
 
const lldb::SBMemoryRegionInfooperator= (const lldb::SBMemoryRegionInfo &rhs)
 
void Clear ()
 
lldb::addr_t GetRegionBase ()
 Get the base address of this memory range. More...
 
lldb::addr_t GetRegionEnd ()
 Get the end address of this memory range. More...
 
bool IsReadable ()
 Check if this memory address is marked readable to the process. More...
 
bool IsWritable ()
 Check if this memory address is marked writable to the process. More...
 
bool IsExecutable ()
 Check if this memory address is marked executable to the process. More...
 
bool IsMapped ()
 Check if this memory address is mapped into the process address space. More...
 
const char * GetName ()
 Returns the name of the memory region mapped at the given address. More...
 
bool operator== (const lldb::SBMemoryRegionInfo &rhs) const
 
bool operator!= (const lldb::SBMemoryRegionInfo &rhs) const
 
bool GetDescription (lldb::SBStream &description)
 

Friends

class SBProcess
 
class SBMemoryRegionInfoList
 

Detailed Description

Definition at line 17 of file SBMemoryRegionInfo.h.

Constructor & Destructor Documentation

◆ SBMemoryRegionInfo() [1/2]

SBMemoryRegionInfo::SBMemoryRegionInfo ( )

Definition at line 21 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBMemoryRegionInfo() [2/2]

SBMemoryRegionInfo::SBMemoryRegionInfo ( const lldb::SBMemoryRegionInfo rhs)

◆ ~SBMemoryRegionInfo()

SBMemoryRegionInfo::~SBMemoryRegionInfo ( )

Definition at line 49 of file SBMemoryRegionInfo.cpp.

Member Function Documentation

◆ Clear()

void SBMemoryRegionInfo::Clear ( )

◆ GetDescription()

bool SBMemoryRegionInfo::GetDescription ( lldb::SBStream description)

◆ GetName()

const char * SBMemoryRegionInfo::GetName ( )

Returns the name of the memory region mapped at the given address.

Returns
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 the returns nullptr.

Definition at line 113 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBMemoryRegionInfo >().

◆ GetRegionBase()

lldb::addr_t SBMemoryRegionInfo::GetRegionBase ( )

Get the base address of this memory range.

Returns
The base address of this memory range.

Definition at line 77 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBMemoryRegionInfo >().

◆ GetRegionEnd()

lldb::addr_t SBMemoryRegionInfo::GetRegionEnd ( )

Get the end address of this memory range.

Returns
The base address of this memory range.

Definition at line 83 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBMemoryRegionInfo >().

◆ IsExecutable()

bool SBMemoryRegionInfo::IsExecutable ( )

Check if this memory address is marked executable to the process.

Returns
true if this memory address is marked executable

Definition at line 101 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBMemoryRegionInfo >().

◆ IsMapped()

bool SBMemoryRegionInfo::IsMapped ( )

Check if this memory address is mapped into the process address space.

Returns
true if this memory address is in the process address space.

Definition at line 107 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBMemoryRegionInfo >().

◆ IsReadable()

bool SBMemoryRegionInfo::IsReadable ( )

Check if this memory address is marked readable to the process.

Returns
true if this memory address is marked readable

Definition at line 89 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBMemoryRegionInfo >().

◆ IsWritable()

bool SBMemoryRegionInfo::IsWritable ( )

Check if this memory address is marked writable to the process.

Returns
true if this memory address is marked writable

Definition at line 95 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBMemoryRegionInfo >().

◆ operator!=()

bool SBMemoryRegionInfo::operator!= ( const lldb::SBMemoryRegionInfo rhs) const

Definition at line 65 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_CONST.

◆ operator=()

const SBMemoryRegionInfo & SBMemoryRegionInfo::operator= ( const lldb::SBMemoryRegionInfo rhs)

Definition at line 39 of file SBMemoryRegionInfo.cpp.

References lldb_private::clone(), LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

Referenced by SBMemoryRegionInfo().

◆ operator==()

bool SBMemoryRegionInfo::operator== ( const lldb::SBMemoryRegionInfo rhs) const

Definition at line 57 of file SBMemoryRegionInfo.cpp.

References LLDB_RECORD_METHOD_CONST.

Friends And Related Function Documentation

◆ SBMemoryRegionInfoList

friend class SBMemoryRegionInfoList
friend

Definition at line 84 of file SBMemoryRegionInfo.h.

◆ SBProcess

friend class SBProcess
friend

Definition at line 83 of file SBMemoryRegionInfo.h.


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