This class acts as an action callback for code breakpoints set at the
beginning of a function. It automatically retrieves the parameters from
the stack, sets a breakpoint at the return address and retrieves the
return value from the function call.
|
|
__init__(self,
preCB=None,
postCB=None,
paramCount=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
__call__(self,
event)
Handles the breakpoint event on entry of the function. |
|
|
|
|
|
|
|
|
|
|
|
|
|
__callHandler(self,
callback,
event,
*params)
Calls a "pre" or "post" handler, if set. |
|
|
|
|
hook(self,
debug,
pid,
address)
Installs the function hook at a given process and address. |
|
|
|
|
unhook(self,
debug,
pid,
address)
Removes the function hook at a given process and address. |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|