SBInstructionListΒΆ
- class lldb.SBInstructionList(*args)ΒΆ
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 alsoSBDebugger
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.
Methods Summary
AppendInstruction
(SBInstructionList self, ...)Clear
(SBInstructionList self)GetDescription
(SBInstructionList self, ...)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 ΒΆ
- 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) None