Package envi :: Package archs :: Package i386 :: Module disasm :: Class i386Opcode
[hide private]
[frames] | no frames]

Class i386Opcode

source code


Instance Methods [hide private]
 
getBranches(self, emu=None)
Return a list of tuples.
source code
 
render(self, mcanv)
Render this opcode to the specified memory canvas
source code

Inherited from Opcode: __eq__, __hash__, __init__, __len__, __ne__, __repr__, getOperValue, getOperands, getPrefixName, getTargets, isCall, isReturn

Class Variables [hide private]
  prefix_names = [(PREFIX_LOCK, "lock"), (PREFIX_REPNZ, "repnz")...
Method Details [hide private]

getBranches(self, emu=None)

source code 

Return a list of tuples. Each tuple contains the target VA of the branch, and a possible set of flags showing what type of branch it is.

See the BR_FOO types for all the supported envi branch flags.... Example: for bva,bflags in op.getBranches():

Overrides: Opcode.getBranches
(inherited documentation)

render(self, mcanv)

source code 

Render this opcode to the specified memory canvas

Overrides: Opcode.render

Class Variable Details [hide private]

prefix_names

Value:
[(PREFIX_LOCK, "lock"), (PREFIX_REPNZ, "repnz"), (PREFIX_REP, "rep"), \
(PREFIX_CS, "cs"), (PREFIX_SS, "ss"), (PREFIX_DS, "ds"), (PREFIX_ES, "\
es"), (PREFIX_FS, "fs"), (PREFIX_GS, "gs"),]