Package lldb :: Class SBData

[hide private]
[frames] | no frames]

# Class SBData

source code

Proxy of C++ lldb::SBData class

Nested Classes | [hide private]

| read_data_helper

Instance Methods | [hide private]

__setattr__(self, name, value) x.__setattr__('name', value) <==> x.name = value | source code

__getattr__(self, name) | source code

__repr__(self) repr(x) | source code

__init__(self, *args) __init__(lldb::SBData self) -> SBData __init__(lldb::SBData self, SBData rhs) -> SBData | source code

__swig_destroy__(...) delete_SBData(SBData self) |

__del__(self) | source code

GetAddressByteSize(self) GetAddressByteSize(SBData self) -> uint8_t | source code

SetAddressByteSize(self, *args) SetAddressByteSize(SBData self, uint8_t addr_byte_size) | source code

Clear(self) Clear(SBData self) | source code

__nonzero__(self) | source code

IsValid(self) IsValid(SBData self) -> bool | source code

GetByteSize(self) GetByteSize(SBData self) -> size_t | source code

GetByteOrder(self) GetByteOrder(SBData self) -> lldb::ByteOrder | source code

SetByteOrder(self, *args) SetByteOrder(SBData self, lldb::ByteOrder endian) | source code

GetFloat(self, *args) GetFloat(SBData self, SBError error, lldb::offset_t offset) -> float | source code

GetDouble(self, *args) GetDouble(SBData self, SBError error, lldb::offset_t offset) -> double | source code

GetLongDouble(self, *args) GetLongDouble(SBData self, SBError error, lldb::offset_t offset) -> long double | source code

GetAddress(self, *args) GetAddress(SBData self, SBError error, lldb::offset_t offset) -> lldb::addr_t | source code

GetUnsignedInt8(self, *args) GetUnsignedInt8(SBData self, SBError error, lldb::offset_t offset) -> uint8_t | source code

GetUnsignedInt16(self, *args) GetUnsignedInt16(SBData self, SBError error, lldb::offset_t offset) -> uint16_t | source code

GetUnsignedInt32(self, *args) GetUnsignedInt32(SBData self, SBError error, lldb::offset_t offset) -> uint32_t | source code

GetUnsignedInt64(self, *args) GetUnsignedInt64(SBData self, SBError error, lldb::offset_t offset) -> uint64_t | source code

GetSignedInt8(self, *args) GetSignedInt8(SBData self, SBError error, lldb::offset_t offset) -> int8_t | source code

GetSignedInt16(self, *args) GetSignedInt16(SBData self, SBError error, lldb::offset_t offset) -> int16_t | source code

GetSignedInt32(self, *args) GetSignedInt32(SBData self, SBError error, lldb::offset_t offset) -> int32_t | source code

GetSignedInt64(self, *args) GetSignedInt64(SBData self, SBError error, lldb::offset_t offset) -> int64_t | source code

GetString(self, *args) GetString(SBData self, SBError error, lldb::offset_t offset) -> str const * | source code

GetDescription(self, *args) GetDescription(SBData self, SBStream description, lldb::addr_t base_addr) -> bool | source code

ReadRawData(self, *args) ReadRawData(SBData self, SBError error, lldb::offset_t offset, void * buf) -> size_t | source code

SetData(self, *args) SetData(SBData self, SBError error, void const * buf, lldb::ByteOrder endian, uint8_t addr_size) | source code

Append(self, *args) Append(SBData self, SBData rhs) -> bool | source code

SetDataFromCString(self, *args) SetDataFromCString(SBData self, str const * data) -> bool | source code

SetDataFromUInt64Array(self, *args) SetDataFromUInt64Array(SBData self, uint64_t * array) -> bool | source code

SetDataFromUInt32Array(self, *args) SetDataFromUInt32Array(SBData self, uint32_t * array) -> bool | source code

SetDataFromSInt64Array(self, *args) SetDataFromSInt64Array(SBData self, int64_t * array) -> bool | source code

SetDataFromSInt32Array(self, *args) SetDataFromSInt32Array(SBData self, int32_t * array) -> bool | source code

SetDataFromDoubleArray(self, *args) SetDataFromDoubleArray(SBData self, double * array) -> bool | source code

_make_helper(self, sbdata, getfunc, itemsize) | source code

_make_helper_uint8(self) | source code

_make_helper_uint16(self) | source code

_make_helper_uint32(self) | source code

_make_helper_uint64(self) | source code

_make_helper_sint8(self) | source code

_make_helper_sint16(self) | source code

_make_helper_sint32(self) | source code

_make_helper_sint64(self) | source code

_make_helper_float(self) | source code

_make_helper_double(self) | source code

_read_all_uint8(self) | source code

_read_all_uint16(self) | source code

_read_all_uint32(self) | source code

_read_all_uint64(self) | source code

_read_all_sint8(self) | source code

_read_all_sint16(self) | source code

_read_all_sint32(self) | source code

_read_all_sint64(self) | source code

_read_all_float(self) | source code

_read_all_double(self) | source code

__str__(self) __str__(SBData self) -> PyObject * | source code

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Class Methods | [hide private]

CreateDataFromInt(cls, value, size=None, target=None, ptr_size=None, endian=None) | source code

Static Methods | [hide private]

CreateDataFromCString(*args) CreateDataFromCString(lldb::ByteOrder endian, uint32_t addr_byte_size, str const * data) -> SBData | source code

CreateDataFromUInt64Array(*args) CreateDataFromUInt64Array(lldb::ByteOrder endian, uint32_t addr_byte_size, uint64_t * array) -> SBData | source code

CreateDataFromUInt32Array(*args) CreateDataFromUInt32Array(lldb::ByteOrder endian, uint32_t addr_byte_size, uint32_t * array) -> SBData | source code

CreateDataFromSInt64Array(*args) CreateDataFromSInt64Array(lldb::ByteOrder endian, uint32_t addr_byte_size, int64_t * array) -> SBData | source code

CreateDataFromSInt32Array(*args) CreateDataFromSInt32Array(lldb::ByteOrder endian, uint32_t addr_byte_size, int32_t * array) -> SBData | source code

CreateDataFromDoubleArray(*args) CreateDataFromDoubleArray(lldb::ByteOrder endian, uint32_t addr_byte_size, double * array) -> SBData | source code

Class Variables | [hide private]

| __swig_setmethods__ = `{}`
| __swig_getmethods__ = `{}`

Properties | [hide private]

| 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.
Inherited from `object`: `__class__`

Method Details | [hide private]

### __setattr__(self, name, value)

source code

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__
  (inherited documentation)

### __repr__(self)
(Representation operator)

source code

repr(x)

Overrides: object.__repr__
  (inherited documentation)

### __init__(self, *args)
(Constructor)

source code

__init__(lldb::SBData self) -> SBData __init__(lldb::SBData self, SBData rhs) -> SBData

Overrides: object.__init__

### __str__(self)
(Informal representation operator)

source code

__str__(SBData self) -> PyObject *

Overrides: object.__str__

Property Details | [hide private]

### byte_order

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

Get Method:
  GetByteOrder(self) - GetByteOrder(SBData self) -> lldb::ByteOrder
Set Method:
  SetByteOrder(self, *args) - SetByteOrder(SBData self, lldb::ByteOrder endian)

### double

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

Get Method:
  _make_helper_double(self)

### doubles

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

Get Method:
  _read_all_double(self)

### float

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

Get Method:
  _make_helper_float(self)

### floats

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

Get Method:
  _read_all_float(self)

### sint16

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

Get Method:
  _make_helper_sint16(self)

### sint16s

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

Get Method:
  _read_all_sint16(self)

### sint32

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

Get Method:
  _make_helper_sint32(self)

### sint32s

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

Get Method:
  _read_all_sint32(self)

### sint64

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

Get Method:
  _make_helper_sint64(self)

### sint64s

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

Get Method:
  _read_all_sint64(self)

### sint8

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

Get Method:
  _make_helper_sint8(self)

### sint8s

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

Get Method:
  _read_all_sint8(self)

### size

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

Get Method:
  GetByteSize(self) - GetByteSize(SBData self) -> size_t

### uint16

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

Get Method:
  _make_helper_uint16(self)

### uint16s

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

Get Method:
  _read_all_uint16(self)

### uint32

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

Get Method:
  _make_helper_uint32(self)

### uint32s

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

Get Method:
  _read_all_uint32(self)

### uint64

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

Get Method:
  _make_helper_uint64(self)

### uint64s

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

Get Method:
  _read_all_uint64(self)

### uint8

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

Get Method:
  _make_helper_uint8(self)

### uint8s

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

Get Method:
  _read_all_uint8(self)