SBInstructionListΒΆ
- class lldb.SBInstructionList(*args)ΒΆ
Represents a list of machine instructions. SBFunction and SBSymbol have GetInstructions() methods which return SBInstructionList instances.
SBInstructionList supports instruction (
SBInstructioninstance) iteration. For example (see alsoSBDebuggerfor 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.
Methods Summary
AppendInstruction(SBInstructionList self, ...)Clear(SBInstructionList self)GetDescription(-> bool)GetInstructionsCount(SBInstructionList self, ...)GetSize(SBInstructionList self)IsValid(SBInstructionList self)Print()Methods Documentation
- AppendInstruction(SBInstructionList self, SBInstruction inst)ΒΆ
- Clear(SBInstructionList self)ΒΆ
- DumpEmulationForAllInstructions(SBInstructionList self, char const * triple) boolΒΆ
- GetDescription(SBInstructionList self, SBStream description) boolΒΆ
- GetDescription(SBInstructionList self, SBStream description, SBExecutionContext exe_ctx) bool
- GetInstructionAtIndex(SBInstructionList self, uint32_t idx) SBInstructionΒΆ
- GetInstructionsCount(SBInstructionList self, SBAddress start, SBAddress end, bool canSetBreakpoint=False) size_tΒΆ
- GetSize(SBInstructionList self) size_tΒΆ
- IsValid(SBInstructionList self) boolΒΆ
- Print(SBInstructionList self, SBFile out)ΒΆ
- Print(SBInstructionList self, lldb: :FileSP BORROWED)