r.a.Instruction(object) : class documentation

Part of reven.api View In Hierarchy

A basic block instruction.

Method __init__
Method comment 0 Get the instruction comment.
Method comment Set the instruction comment.
Method index Instruction index in the basic block.
Method address The instruction virtual address.
Method size The instruction size in bytes.
Method prefixes The instruction prefixes.
Method mnemonic The instruction mnemonic.
Method operands The instruction operands.
Method operand Get operand by index.
Method raw_bytes Return a bytearray containing the raw, still assembled instruction.
Method __repr__ Undocumented
Method _rvn Undocumented
Method _instr Undocumented
def __init__(self, block, index):
ParametersblockA BasicBlock instance.
indexThe instruction index in its basic block.
@property
def _rvn(self):
Undocumented
@property
def _instr(self):
Undocumented
@property
def comment 0(self):

Get the instruction comment.

@comment.setter
def comment(self, text):

Set the instruction comment.

@property
def index(self):

Instruction index in the basic block.

@property
def address(self):

The instruction virtual address.

@property
def size(self):

The instruction size in bytes.

@property
def prefixes(self):

The instruction prefixes.

@property
def mnemonic(self):

The instruction mnemonic.

def operands(self):

The instruction operands.

def operand(self, index):

Get operand by index.

@property
def raw_bytes(self):

Return a bytearray containing the raw, still assembled instruction.

def __repr__(self):
Undocumented
API Documentation for reven, generated by pydoctor at 2016-05-25 16:38:00.