Package vdb :: Package testmods :: Module hookbptest
[hide private]
[frames] | no frames]

Module hookbptest

source code

Classes [hide private]
  HookBpTest
Tests the direct implementation of the functionality.
  HookBpTest2
Tests addHook works with both a prehook and posthook callback specified.
  HookBpTest3
Tests addHook works with only a prehook callback specified.
  HookBpTest4
Tests addHook works even when a handler throws an exception (and the other handlers still execute)
  HookBpTest5
  HookBpTest6
Tests the failure of adding a pre bp at a location that already has another type of bp on it.
Functions [hide private]
 
prehook(event, trace, ret_addr, args, callconv) source code
 
posthook(event, trace, saved_ret_addr, saved_args, callconv) source code
 
prehookThrow(event, trace, ret_addr, args, callconv) source code
 
posthookThrow(event, trace, saved_ret_addr, saved_args, callconv) source code
Variables [hide private]
  plat_syms = {'windows': 'ntdll.rtlencodepointer',}