Package lldb :: Class SBInstructionList

[hide private]
[frames] | no frames]

# Class SBInstructionList

source code

    Represents a list of machine instructions.  SBFunction and SBSymbol have
    GetInstructions() methods which return SBInstructionList instances.

    SBInstructionList supports instruction (SBInstruction instance) iteration.
    For example (see also SBDebugger for a more complete example),

    def disassemble_instructions (insts):
        for i in insts:
            print i

    defines a function which takes an SBInstructionList instance and prints out
    the machine instructions in assembly format.

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

__iter__(self) | source code

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

__swig_destroy__(...) delete_SBInstructionList(SBInstructionList self) |

__del__(self) | source code

__nonzero__(self) | source code

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

GetSize(self) GetSize(SBInstructionList self) -> size_t | source code

GetInstructionAtIndex(self, *args) GetInstructionAtIndex(SBInstructionList self, uint32_t idx) -> SBInstruction | source code

Clear(self) Clear(SBInstructionList self) | source code

AppendInstruction(self, *args) AppendInstruction(SBInstructionList self, SBInstruction inst) | source code

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

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

DumpEmulationForAllInstructions(self, *args) DumpEmulationForAllInstructions(SBInstructionList self, str const * triple) -> bool | source code

__len__(self) Access len of the instruction list. | source code

__getitem__(self, key) Access instructions by integer index for array access or by lldb.SBAddress to find an instruction that matches a section offset address object. | source code

__str__(self) __str__(SBInstructionList 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]

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

Overrides: object.__init__

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

source code

__str__(SBInstructionList self) -> PyObject *

Overrides: object.__str__