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

Class i386Opcode

source code

Opcode --+
         |
        i386Opcode

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

Class Variables [hide private]
  prefix_names = [(2, 'lock'), (4, 'repnz'), (16, 'rep'), (512, ...
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:
[(2, 'lock'),
 (4, 'repnz'),
 (16, 'rep'),
 (512, 'cs'),
 (1024, 'ss'),
 (2048, 'ds'),
 (4096, 'es'),
 (8192, 'fs'),
...