Package envi :: Class ArchitectureModule
[hide private]
[frames] | no frames]

Class ArchitectureModule

source code

Known Subclasses:

An architecture module implementes methods to deal with the creation of envi objects for the specified architecture.

Instance Methods [hide private]
 
__init__(self, archname, maxinst=32) source code
 
archGetBreakInstr(self)
Return a python string of the byte sequence which corresponds to a breakpoint (if present) for this architecture.
source code
 
archGetRegCtx(self)
Return an initialized register context object for the architecture.
source code
 
getEmulator(self)
Return a default instance of an emulator for the given arch.
source code
 
getPointerSize(self)
Get the size of a pointer in memory on this architecture.
source code
 
makeOpcode(self, bytes, offset=0, va=0)
Create a new opcode from the specified bytes (beginning at the specified offset)
source code
 
pointerString(self, va)
Return a string representation for a pointer on this arch
source code