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]
__repr__(self) source code
__init__(self, *args)
__init__(lldb::SBInstructionList self) -> SBInstructionList __init__(lldb::SBInstructionList self, SBInstructionList rhs) -> SBInstructionList
source code
IsValid(SBInstructionList self) -> bool
source code
__nonzero__(self) source code
__bool__(self) source code
GetSize(SBInstructionList self) -> size_t
source code
GetInstructionAtIndex(self, *args)
GetInstructionAtIndex(SBInstructionList self, uint32_t idx) -> SBInstruction
source code
GetInstructionsCount(self, *args)
GetInstructionsCount(SBInstructionList self, SBAddress start, SBAddress end, bool canSetBreakpoint) -> size_t
source code
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, char const * triple) -> bool
source code
Iterate over all instructions in a lldb.SBInstructionList object.
source code
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__(SBInstructionList self) -> PyObject *
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _lldb.delete_SBInstructionList
  __del__ = lambda self: