|
LLDB mainline
|
#include <SBData.h>
Static Public Member Functions | |
| static lldb::SBData | CreateDataFromCString (lldb::ByteOrder endian, uint32_t addr_byte_size, const char *data) |
| static lldb::SBData | CreateDataFromUInt64Array (lldb::ByteOrder endian, uint32_t addr_byte_size, uint64_t *array, size_t array_len) |
| static lldb::SBData | CreateDataFromUInt32Array (lldb::ByteOrder endian, uint32_t addr_byte_size, uint32_t *array, size_t array_len) |
| static lldb::SBData | CreateDataFromSInt64Array (lldb::ByteOrder endian, uint32_t addr_byte_size, int64_t *array, size_t array_len) |
| static lldb::SBData | CreateDataFromSInt32Array (lldb::ByteOrder endian, uint32_t addr_byte_size, int32_t *array, size_t array_len) |
| static lldb::SBData | CreateDataFromDoubleArray (lldb::ByteOrder endian, uint32_t addr_byte_size, double *array, size_t array_len) |
Protected Member Functions | |
| lldb_private::DataExtractor * | get () const |
| lldb_private::DataExtractor * | operator-> () const |
| lldb::DataExtractorSP & | operator* () |
| const lldb::DataExtractorSP & | operator* () const |
| SBData (const lldb::DataExtractorSP &data_sp) | |
| void | SetOpaque (const lldb::DataExtractorSP &data_sp) |
Private Attributes | |
| lldb::DataExtractorSP | m_opaque_sp |
Friends | |
| class | SBInstruction |
| class | SBProcess |
| class | SBSection |
| class | SBTarget |
| class | SBValue |
| class | lldb_private::ScriptInterpreter |
| SBData::SBData | ( | ) |
Definition at line 25 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by Append(), CreateDataFromCString(), CreateDataFromDoubleArray(), CreateDataFromSInt32Array(), CreateDataFromSInt64Array(), CreateDataFromUInt32Array(), CreateDataFromUInt64Array(), operator=(), SBData(), and ~SBData().
| SBData::SBData | ( | const SBData & | rhs | ) |
Definition at line 31 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBData().
|
default |
References Append(), Clear(), CreateDataFromCString(), CreateDataFromDoubleArray(), CreateDataFromSInt32Array(), CreateDataFromSInt64Array(), CreateDataFromUInt32Array(), CreateDataFromUInt64Array(), error(), get(), GetAddress(), GetAddressByteSize(), GetByteOrder(), GetByteSize(), GetDescription(), GetDouble(), GetFloat(), GetLongDouble(), GetSignedInt16(), GetSignedInt32(), GetSignedInt64(), GetSignedInt8(), GetString(), GetUnsignedInt16(), GetUnsignedInt32(), GetUnsignedInt64(), GetUnsignedInt8(), IsValid(), LLDB_INVALID_ADDRESS, operator*(), operator->(), ReadRawData(), SBData(), SetAddressByteSize(), SetByteOrder(), SetData(), SetDataFromCString(), SetDataFromDoubleArray(), SetDataFromSInt32Array(), SetDataFromSInt64Array(), SetDataFromUInt32Array(), SetDataFromUInt64Array(), SetDataWithOwnership(), and SetOpaque().
|
protected |
Definition at line 29 of file SBData.cpp.
References m_opaque_sp.
Definition at line 375 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBData().
Referenced by ~SBData().
| void SBData::Clear | ( | ) |
Definition at line 85 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
|
static |
Definition at line 384 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and SBData().
Referenced by ~SBData().
|
static |
Definition at line 483 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and SBData().
Referenced by ~SBData().
|
static |
Definition at line 463 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and SBData().
Referenced by ~SBData().
|
static |
Definition at line 443 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and SBData().
Referenced by ~SBData().
|
static |
Definition at line 423 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and SBData().
Referenced by ~SBData().
|
static |
Definition at line 403 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and SBData().
Referenced by ~SBData().
|
protected |
Definition at line 49 of file SBData.cpp.
References m_opaque_sp.
Referenced by lldb::SBValue::SetData(), and ~SBData().
| lldb::addr_t SBData::GetAddress | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 162 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| uint8_t SBData::GetAddressByteSize | ( | ) |
Definition at line 69 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by SetDataFromCString(), SetDataFromDoubleArray(), SetDataFromSInt32Array(), SetDataFromSInt64Array(), SetDataFromUInt32Array(), SetDataFromUInt64Array(), and ~SBData().
| lldb::ByteOrder SBData::GetByteOrder | ( | ) |
Definition at line 101 of file SBData.cpp.
References lldb::eByteOrderInvalid, LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by SetDataFromCString(), SetDataFromDoubleArray(), SetDataFromSInt32Array(), SetDataFromSInt64Array(), SetDataFromUInt32Array(), SetDataFromUInt64Array(), and ~SBData().
| size_t SBData::GetByteSize | ( | ) |
Definition at line 92 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| bool SBData::GetDescription | ( | lldb::SBStream & | description, |
| lldb::addr_t | base_addr = LLDB_INVALID_ADDRESS ) |
Definition at line 315 of file SBData.cpp.
References lldb_private::DumpDataExtractor(), lldb::eFormatBytesWithASCII, LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
Referenced by ~SBData().
| double SBData::GetDouble | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 132 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| float SBData::GetFloat | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 117 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| long double SBData::GetLongDouble | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 147 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| int16_t SBData::GetSignedInt16 | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 252 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| int32_t SBData::GetSignedInt32 | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 267 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| int64_t SBData::GetSignedInt64 | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 282 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| int8_t SBData::GetSignedInt8 | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 237 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| const char * SBData::GetString | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 297 of file SBData.cpp.
References error(), lldb_private::ConstString::GetCString(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| uint16_t SBData::GetUnsignedInt16 | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 192 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| uint32_t SBData::GetUnsignedInt32 | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 207 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| uint64_t SBData::GetUnsignedInt64 | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 222 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| uint8_t SBData::GetUnsignedInt8 | ( | lldb::SBError & | error, |
| lldb::offset_t | offset ) |
Definition at line 177 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| bool SBData::IsValid | ( | ) |
Definition at line 59 of file SBData.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBTarget::CreateValueFromData(), and ~SBData().
|
explicit |
Definition at line 63 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
protected |
|
protected |
Definition at line 57 of file SBData.cpp.
References m_opaque_sp.
|
protected |
Definition at line 35 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBData().
| size_t SBData::ReadRawData | ( | lldb::SBError & | error, |
| lldb::offset_t | offset, | ||
| void * | buf, | ||
| size_t | size ) |
Definition at line 330 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| void SBData::SetAddressByteSize | ( | uint8_t | addr_byte_size | ) |
Definition at line 78 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| void SBData::SetByteOrder | ( | lldb::ByteOrder | endian | ) |
Definition at line 110 of file SBData.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| void SBData::SetData | ( | lldb::SBError & | error, |
| const void * | buf, | ||
| size_t | size, | ||
| lldb::ByteOrder | endian, | ||
| uint8_t | addr_size ) |
Definition at line 346 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| bool SBData::SetDataFromCString | ( | const char * | data | ) |
Definition at line 503 of file SBData.cpp.
References GetAddressByteSize(), GetByteOrder(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| bool SBData::SetDataFromDoubleArray | ( | double * | array, |
| size_t | array_len ) |
Definition at line 605 of file SBData.cpp.
References GetAddressByteSize(), GetByteOrder(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| bool SBData::SetDataFromSInt32Array | ( | int32_t * | array, |
| size_t | array_len ) |
Definition at line 585 of file SBData.cpp.
References GetAddressByteSize(), GetByteOrder(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| bool SBData::SetDataFromSInt64Array | ( | int64_t * | array, |
| size_t | array_len ) |
Definition at line 565 of file SBData.cpp.
References GetAddressByteSize(), GetByteOrder(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| bool SBData::SetDataFromUInt32Array | ( | uint32_t * | array, |
| size_t | array_len ) |
Definition at line 545 of file SBData.cpp.
References GetAddressByteSize(), GetByteOrder(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| bool SBData::SetDataFromUInt64Array | ( | uint64_t * | array, |
| size_t | array_len ) |
Definition at line 524 of file SBData.cpp.
References GetAddressByteSize(), GetByteOrder(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
| void SBData::SetDataWithOwnership | ( | lldb::SBError & | error, |
| const void * | buf, | ||
| size_t | size, | ||
| lldb::ByteOrder | endian, | ||
| uint8_t | addr_size ) |
Definition at line 359 of file SBData.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBData().
|
protected |
Definition at line 45 of file SBData.cpp.
References m_opaque_sp.
Referenced by lldb::SBInstruction::GetData(), lldb::SBSection::GetSectionData(), and ~SBData().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 159 of file SBData.h.
Referenced by Append(), Clear(), get(), GetAddress(), GetAddressByteSize(), GetByteOrder(), GetByteSize(), lldb_private::ScriptInterpreter::GetDataExtractorFromSBData(), GetDescription(), GetDouble(), GetFloat(), GetLongDouble(), GetSignedInt16(), GetSignedInt32(), GetSignedInt64(), GetSignedInt8(), GetString(), GetUnsignedInt16(), GetUnsignedInt32(), GetUnsignedInt64(), GetUnsignedInt8(), operator bool(), operator*(), operator*(), operator->(), operator=(), ReadRawData(), SBData(), SBData(), SBData(), SetAddressByteSize(), SetByteOrder(), SetData(), SetDataFromCString(), SetDataFromDoubleArray(), SetDataFromSInt32Array(), SetDataFromSInt64Array(), SetDataFromUInt32Array(), SetDataFromUInt64Array(), SetDataWithOwnership(), and SetOpaque().