1*06c3fb27SDimitry Andric %feature("docstring", 2*06c3fb27SDimitry Andric "Represents a list of machine instructions. SBFunction and SBSymbol have 3*06c3fb27SDimitry Andric GetInstructions() methods which return SBInstructionList instances. 4*06c3fb27SDimitry Andric 5*06c3fb27SDimitry Andric SBInstructionList supports instruction (:py:class:`SBInstruction` instance) iteration. 6*06c3fb27SDimitry Andric For example (see also :py:class:`SBDebugger` for a more complete example), :: 7*06c3fb27SDimitry Andric 8*06c3fb27SDimitry Andric def disassemble_instructions (insts): 9*06c3fb27SDimitry Andric for i in insts: 10*06c3fb27SDimitry Andric print i 11*06c3fb27SDimitry Andric 12*06c3fb27SDimitry Andric defines a function which takes an SBInstructionList instance and prints out 13*06c3fb27SDimitry Andric the machine instructions in assembly format." 14*06c3fb27SDimitry Andric ) lldb::SBInstructionList; 15