LLDB mainline
|
#include <VMRange.h>
Public Types | |
typedef std::vector< VMRange > | collection |
typedef collection::iterator | iterator |
typedef collection::const_iterator | const_iterator |
Public Member Functions | |
VMRange ()=default | |
VMRange (lldb::addr_t start_addr, lldb::addr_t end_addr) | |
~VMRange ()=default | |
void | Clear () |
void | Reset (lldb::addr_t start_addr, lldb::addr_t end_addr) |
void | SetBaseAddress (lldb::addr_t base_addr) |
void | SetEndAddress (lldb::addr_t end_addr) |
lldb::addr_t | GetByteSize () const |
void | SetByteSize (lldb::addr_t byte_size) |
lldb::addr_t | GetBaseAddress () const |
lldb::addr_t | GetEndAddress () const |
bool | IsValid () const |
bool | Contains (lldb::addr_t addr) const |
bool | Contains (const VMRange &range) const |
void | Dump (llvm::raw_ostream &s, lldb::addr_t base_addr=0, uint32_t addr_width=8) const |
Static Public Member Functions | |
static bool | ContainsValue (const VMRange::collection &coll, lldb::addr_t value) |
static bool | ContainsRange (const VMRange::collection &coll, const VMRange &range) |
Protected Attributes | |
lldb::addr_t | m_base_addr = 0 |
lldb::addr_t | m_byte_size = 0 |
typedef std::vector<VMRange> lldb_private::VMRange::collection |
typedef collection::const_iterator lldb_private::VMRange::const_iterator |
typedef collection::iterator lldb_private::VMRange::iterator |
|
default |
|
inline |
|
default |
|
inline |
Definition at line 37 of file VMRange.h.
References m_base_addr, and m_byte_size.
|
inline |
Definition at line 73 of file VMRange.h.
References lldb_private::Contains, GetBaseAddress(), and GetEndAddress().
|
inline |
Definition at line 69 of file VMRange.h.
References GetBaseAddress(), and GetEndAddress().
Referenced by ContainsRange(), and ContainsValue().
|
static |
Definition at line 30 of file VMRange.cpp.
References Contains().
|
static |
Definition at line 24 of file VMRange.cpp.
References Contains().
void VMRange::Dump | ( | llvm::raw_ostream & | s, |
lldb::addr_t | base_addr = 0 , |
||
uint32_t | addr_width = 8 |
||
) | const |
Definition at line 36 of file VMRange.cpp.
References lldb_private::DumpAddressRange(), GetBaseAddress(), and GetEndAddress().
Referenced by lldb_private::Section::Dump().
|
inline |
Definition at line 63 of file VMRange.h.
References m_base_addr.
Referenced by Contains(), Dump(), GetEndAddress(), lldb_private::operator<(), lldb_private::operator==(), and SetEndAddress().
|
inline |
Definition at line 59 of file VMRange.h.
References m_byte_size.
|
inline |
Definition at line 65 of file VMRange.h.
References GetBaseAddress(), and m_byte_size.
Referenced by Contains(), Dump(), lldb_private::operator<(), and lldb_private::operator==().
|
inline |
Definition at line 67 of file VMRange.h.
References m_byte_size.
|
inline |
Definition at line 43 of file VMRange.h.
References SetBaseAddress(), and SetEndAddress().
|
inline |
|
inline |
Definition at line 61 of file VMRange.h.
References m_byte_size.
|
inline |
Definition at line 51 of file VMRange.h.
References GetBaseAddress(), and m_byte_size.
Referenced by Reset().
|
protected |
Definition at line 91 of file VMRange.h.
Referenced by Clear(), GetBaseAddress(), and SetBaseAddress().
|
protected |
Definition at line 92 of file VMRange.h.
Referenced by Clear(), GetByteSize(), GetEndAddress(), IsValid(), SetByteSize(), and SetEndAddress().