Package lldb :: Class SBInstruction

[hide private]
[frames] | no frames]

# Class SBInstruction

source code

Proxy of C++ lldb::SBInstruction class

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::SBInstruction self) -> SBInstruction __init__(lldb::SBInstruction self, SBInstruction rhs) -> SBInstruction | source code

__swig_destroy__(...) delete_SBInstruction(SBInstruction self) |

__del__(self) | source code

__nonzero__(self) | source code

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

GetAddress(self) GetAddress(SBInstruction self) -> SBAddress | source code

GetAddressClass(self) GetAddressClass(SBInstruction self) -> lldb::AddressClass | source code

GetMnemonic(self, *args) GetMnemonic(SBInstruction self, SBTarget target) -> str const * | source code

GetOperands(self, *args) GetOperands(SBInstruction self, SBTarget target) -> str const * | source code

GetComment(self, *args) GetComment(SBInstruction self, SBTarget target) -> str const * | source code

GetData(self, *args) GetData(SBInstruction self, SBTarget target) -> SBData | source code

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

DoesBranch(self) DoesBranch(SBInstruction self) -> bool | source code

Print(self, *args) Print(SBInstruction self, FILE * out) | source code

GetDescription(self, *args) GetDescription(SBInstruction self, SBStream description) -> bool | source code

EmulateWithFrame(self, *args) EmulateWithFrame(SBInstruction self, SBFrame frame, uint32_t evaluate_options) -> bool | source code

DumpEmulation(self, *args) DumpEmulation(SBInstruction self, str const * triple) -> bool | source code

TestEmulation(self, *args) TestEmulation(SBInstruction self, SBStream output_stream, str const * test_file) -> bool | source code

__mnemonic_property__(self) | source code

__operands_property__(self) | source code

__comment_property__(self) | source code

__file_addr_property__(self) | source code

__load_adrr_property__(self) | source code

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

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

Class Variables | [hide private]

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

Properties | [hide private]

| addr A read only property that returns an lldb object that represents the address (lldb.SBAddress) for this instruction.
| comment A read only property that returns the comment for this instruction as a string.
| is_branch A read only property that returns a boolean value that indicates if this instruction is a branch instruction.
| mnemonic A read only property that returns the mnemonic for this instruction as a string.
| operands A read only property that returns the operands for this instruction as a string.
| size A read only property that returns the size in bytes for this instruction as an integer.
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::SBInstruction self) -> SBInstruction __init__(lldb::SBInstruction self, SBInstruction rhs) -> SBInstruction

Overrides: object.__init__

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

source code

__str__(SBInstruction self) -> PyObject *

Overrides: object.__str__

Property Details | [hide private]

### addr

A read only property that returns an lldb object that represents the address (lldb.SBAddress) for this instruction.

Get Method:
  GetAddress(self) - GetAddress(SBInstruction self) -> SBAddress

### comment

A read only property that returns the comment for this instruction as a string.

Get Method:
  __comment_property__(self)

### is_branch

A read only property that returns a boolean value that indicates if this instruction is a branch instruction.

Get Method:
  DoesBranch(self) - DoesBranch(SBInstruction self) -> bool

### mnemonic

A read only property that returns the mnemonic for this instruction as a string.

Get Method:
  __mnemonic_property__(self)

### operands

A read only property that returns the operands for this instruction as a string.

Get Method:
  __operands_property__(self)

### size

A read only property that returns the size in bytes for this instruction as an integer.

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