brintos

brintos / llvm-project-archived public Read only

0
0
Text · 567 B · 5d59cba Raw
15 lines · plain
1%feature("docstring",2"Represents a list of machine instructions.  SBFunction and SBSymbol have3GetInstructions() methods which return SBInstructionList instances.4 5SBInstructionList supports instruction (:py:class:`SBInstruction` instance) iteration.6For example (see also :py:class:`SBDebugger` for a more complete example), ::7 8    def disassemble_instructions (insts):9        for i in insts:10            print i11 12defines a function which takes an SBInstructionList instance and prints out13the machine instructions in assembly format."14) lldb::SBInstructionList;15