reven2.trace.Instruction(object)
class documentationreven2.trace
(View In Hierarchy)
Basic representation of a disassembled instruction.
This object is not meant to be constructed directly. Use Transition.instruction
instead.
>>> # From a transition >>> reven_server.trace.transition(id).instruction # May be None >>> # From a CPU Exception >>> reven_server.trace.transition(id).exception.related_instruction # May be None
Method | __init__ | Undocumented |
Method | mnemonic | Property: Disassembled instruction's mnemonic |
Method | operands | Property: Disassembled instruction's operands. |
Method | raw | Property: Assembled instruction as a bytearray |
Method | size | Property: Size in bytes of assembled instruction |
Method | __str__ | Undocumented |
Method | __repr__ | Undocumented |
Property: Disassembled instruction's mnemonic
Returns | A string . |
Property: Disassembled instruction's operands.
Instructions with more than 3 operands are not handled for the moment, and additional operands will be appended to the third operand.
Returns | A list of string |
Property: Assembled instruction as a bytearray
Returns | A bytearray . |