Package vtrace :: Package tools :: Module iathook :: Class IatHook
[hide private]
[frames] | no frames]

Class IatHook

source code


Abuse the PageWatch subsystem to allow function pointers to be frob'd to create breakpoint like behavior.

Instance Methods [hide private]
 
__init__(self, ptraddr, iatname) source code
 
getName(self) source code
 
resolveAddr(self, trace, addr) source code
 
activate(self, trace) source code
 
deactivate(self, trace) source code
 
notify(self, event, trace)
Breakpoints may also extend and implement "notify" which will be called whenever they are hit.
source code

Inherited from watchpoints.Watchpoint: inittrace, resolvedaddr

Inherited from breakpoints.Breakpoint: __repr__, getAddress, getBreakpointCode, getId, isEnabled, resolveAddress, setBreakpointCode, setEnabled

Class Variables [hide private]
  newptr = 0xfbfbf000

Inherited from breakpoints.Breakpoint: bpcodeobj

Method Details [hide private]

__init__(self, ptraddr, iatname)
(Constructor)

source code 
Overrides: breakpoints.Breakpoint.__init__

getName(self)

source code 
Overrides: breakpoints.Breakpoint.getName

activate(self, trace)

source code 
Overrides: breakpoints.Breakpoint.activate

deactivate(self, trace)

source code 
Overrides: breakpoints.Breakpoint.deactivate

notify(self, event, trace)

source code 

Breakpoints may also extend and implement "notify" which will be called whenever they are hit. If you want to continue the ability for this breakpoint to have bpcode, you must call this method from your override.

Overrides: breakpoints.Breakpoint.notify
(inherited documentation)