SBData#

class lldb.SBData(*args)#

Represents a data buffer.

Attributes Summary

byte_order

A read/write property getting and setting the endianness of this SBData (data.byte_order = lldb.eByteOrderLittle).

double

A read only property that returns an array-like object out of which you can read double values.

doubles

A read only property that returns an array with all the contents of this SBData represented as double values.

float

A read only property that returns an array-like object out of which you can read float values.

floats

A read only property that returns an array with all the contents of this SBData represented as float values.

sint16

A read only property that returns an array-like object out of which you can read sint16 values.

sint16s

A read only property that returns an array with all the contents of this SBData represented as sint16 values.

sint32

A read only property that returns an array-like object out of which you can read sint32 values.

sint32s

A read only property that returns an array with all the contents of this SBData represented as sint32 values.

sint64

A read only property that returns an array-like object out of which you can read sint64 values.

sint64s

A read only property that returns an array with all the contents of this SBData represented as sint64 values.

sint8

A read only property that returns an array-like object out of which you can read sint8 values.

sint8s

A read only property that returns an array with all the contents of this SBData represented as sint8 values.

size

A read only property that returns the size the same result as GetByteSize().

uint16

A read only property that returns an array-like object out of which you can read uint16 values.

uint16s

A read only property that returns an array with all the contents of this SBData represented as uint16 values.

uint32

A read only property that returns an array-like object out of which you can read uint32 values.

uint32s

A read only property that returns an array with all the contents of this SBData represented as uint32 values.

uint64

A read only property that returns an array-like object out of which you can read uint64 values.

uint64s

A read only property that returns an array with all the contents of this SBData represented as uint64 values.

uint8

A read only property that returns an array-like object out of which you can read uint8 values.

uint8s

A read only property that returns an array with all the contents of this SBData represented as uint8 values.

Methods Summary

Append(SBData self, SBData rhs)

Clear(SBData self)

CreateDataFromCString(lldb, ...)

CreateDataFromDoubleArray(lldb, ...)

CreateDataFromInt(value[, size, target, ...])

CreateDataFromSInt32Array(lldb, ...)

CreateDataFromSInt64Array(lldb, ...)

CreateDataFromUInt32Array(lldb, ...)

CreateDataFromUInt64Array(lldb, ...)

GetAddress(SBData self, SBError error, lldb)

GetAddressByteSize(SBData self)

GetByteOrder(SBData self)

GetByteSize(SBData self)

GetDescription(SBData self, ...)

GetDouble(SBData self, SBError error, lldb)

GetFloat(SBData self, SBError error, lldb)

GetLongDouble(SBData self, SBError error, lldb)

GetSignedInt16(SBData self, SBError error, lldb)

GetSignedInt32(SBData self, SBError error, lldb)

GetSignedInt64(SBData self, SBError error, lldb)

GetSignedInt8(SBData self, SBError error, lldb)

GetString(SBData self, SBError error, lldb)

GetUnsignedInt16(SBData self, SBError error, ...)

GetUnsignedInt32(SBData self, SBError error, ...)

GetUnsignedInt64(SBData self, SBError error, ...)

GetUnsignedInt8(SBData self, SBError error, lldb)

IsValid(SBData self)

ReadRawData(SBData self, SBError error, ...)

SetAddressByteSize(SBData self, ...)

SetByteOrder(SBData self, lldb)

SetData(SBData self, SBError error, ...)

SetDataFromCString(SBData self, ...)

SetDataFromDoubleArray(SBData self, ...)

SetDataFromSInt32Array(SBData self, ...)

SetDataFromSInt64Array(SBData self, ...)

SetDataFromUInt32Array(SBData self, ...)

SetDataFromUInt64Array(SBData self, ...)

SetDataWithOwnership(SBData self, ...)

Attributes Documentation

byte_order#

A read/write property getting and setting the endianness of this SBData (data.byte_order = lldb.eByteOrderLittle).

double#

A read only property that returns an array-like object out of which you can read double values.

doubles#

A read only property that returns an array with all the contents of this SBData represented as double values.

float#

A read only property that returns an array-like object out of which you can read float values.

floats#

A read only property that returns an array with all the contents of this SBData represented as float values.

sint16#

A read only property that returns an array-like object out of which you can read sint16 values.

sint16s#

A read only property that returns an array with all the contents of this SBData represented as sint16 values.

sint32#

A read only property that returns an array-like object out of which you can read sint32 values.

sint32s#

A read only property that returns an array with all the contents of this SBData represented as sint32 values.

sint64#

A read only property that returns an array-like object out of which you can read sint64 values.

sint64s#

A read only property that returns an array with all the contents of this SBData represented as sint64 values.

sint8#

A read only property that returns an array-like object out of which you can read sint8 values.

sint8s#

A read only property that returns an array with all the contents of this SBData represented as sint8 values.

size#

A read only property that returns the size the same result as GetByteSize().

uint16#

A read only property that returns an array-like object out of which you can read uint16 values.

uint16s#

A read only property that returns an array with all the contents of this SBData represented as uint16 values.

uint32#

A read only property that returns an array-like object out of which you can read uint32 values.

uint32s#

A read only property that returns an array with all the contents of this SBData represented as uint32 values.

uint64#

A read only property that returns an array-like object out of which you can read uint64 values.

uint64s#

A read only property that returns an array with all the contents of this SBData represented as uint64 values.

uint8#

A read only property that returns an array-like object out of which you can read uint8 values.

uint8s#

A read only property that returns an array with all the contents of this SBData represented as uint8 values.

Methods Documentation

Append(SBData self, SBData rhs) bool#
Clear(SBData self)#
static CreateDataFromCString(lldb::ByteOrder endian, uint32_t addr_byte_size, char const * data) SBData#
static CreateDataFromDoubleArray(lldb::ByteOrder endian, uint32_t addr_byte_size, double * array) SBData#
classmethod CreateDataFromInt(value, size=None, target=None, ptr_size=None, endian=None)#
static CreateDataFromSInt32Array(lldb::ByteOrder endian, uint32_t addr_byte_size, int32_t * array) SBData#
static CreateDataFromSInt64Array(lldb::ByteOrder endian, uint32_t addr_byte_size, int64_t * array) SBData#
static CreateDataFromUInt32Array(lldb::ByteOrder endian, uint32_t addr_byte_size, uint32_t * array) SBData#
static CreateDataFromUInt64Array(lldb::ByteOrder endian, uint32_t addr_byte_size, uint64_t * array) SBData#
GetAddress(SBData self, SBError error, lldb::offset_t offset) lldb::addr_t#
GetAddressByteSize(SBData self) uint8_t#
GetByteOrder(SBData self) lldb::ByteOrder#
GetByteSize(SBData self) size_t#
GetDescription(SBData self, SBStream description, lldb::addr_t base_addr=18446744073709551615ULL) bool#
GetDouble(SBData self, SBError error, lldb::offset_t offset) double#
GetFloat(SBData self, SBError error, lldb::offset_t offset) float#
GetLongDouble(SBData self, SBError error, lldb::offset_t offset) long double#
GetSignedInt16(SBData self, SBError error, lldb::offset_t offset) int16_t#
GetSignedInt32(SBData self, SBError error, lldb::offset_t offset) int32_t#
GetSignedInt64(SBData self, SBError error, lldb::offset_t offset) int64_t#
GetSignedInt8(SBData self, SBError error, lldb::offset_t offset) int8_t#
GetString(SBData self, SBError error, lldb::offset_t offset) char const *#
GetUnsignedInt16(SBData self, SBError error, lldb::offset_t offset) uint16_t#
GetUnsignedInt32(SBData self, SBError error, lldb::offset_t offset) uint32_t#
GetUnsignedInt64(SBData self, SBError error, lldb::offset_t offset) uint64_t#
GetUnsignedInt8(SBData self, SBError error, lldb::offset_t offset) uint8_t#
IsValid(SBData self) bool#
ReadRawData(SBData self, SBError error, lldb::offset_t offset, void * buf) size_t#
SetAddressByteSize(SBData self, uint8_t addr_byte_size)#
SetByteOrder(SBData self, lldb::ByteOrder endian)#
SetData(SBData self, SBError error, void const * buf, lldb::ByteOrder endian, uint8_t addr_size)#
SetDataFromCString(SBData self, char const * data) bool#
SetDataFromDoubleArray(SBData self, double * array) bool#
SetDataFromSInt32Array(SBData self, int32_t * array) bool#
SetDataFromSInt64Array(SBData self, int64_t * array) bool#
SetDataFromUInt32Array(SBData self, uint32_t * array) bool#
SetDataFromUInt64Array(SBData self, uint64_t * array) bool#
SetDataWithOwnership(SBData self, SBError error, void const * buf, lldb::ByteOrder endian, uint8_t addr_size)#