Package vtrace :: Module envitools
[hide private]
[frames] | no frames]

Module envitools

source code

Some tools that require the envi framework to be installed

Classes [hide private]
  RegisterException
  TraceEmulator
Wrap an arbitrary emulator in a Tracer compatible API.
Functions [hide private]
 
cmpRegs(emu, trace) source code
 
setRegs(emu, trace) source code
 
emulatorFromTrace(trace)
Produce an envi emulator for this tracer object.
source code
 
lockStepEmulator(emu, trace) source code
 
main() source code
Variables [hide private]
  reg_map = [(e_i386.REG_EAX, "eax"), (e_i386.REG_ECX, "ecx"), (...
Function Details [hide private]

emulatorFromTrace(trace)

source code 

Produce an envi emulator for this tracer object. Use the trace's arch info to get the emulator so this can be done on the client side of a remote vtrace session.


Variables Details [hide private]

reg_map

Value:
[(e_i386.REG_EAX, "eax"), (e_i386.REG_ECX, "ecx"), (e_i386.REG_EDX, "e\
dx"), (e_i386.REG_EBX, "ebx"), (e_i386.REG_ESP, "esp"), (e_i386.REG_EB\
P, "ebp"), (e_i386.REG_ESI, "esi"), (e_i386.REG_EDI, "edi"), (e_i386.R\
EG_EIP, "eip"), (e_i386.REG_EFLAGS, "eflags")]