|
typedef std::map< uintptr_t,
HookContext > | mapContext |
| |
typedef std::vector< std::pair
< uintptr_t, uintptr_t > > | vecStackFrames |
| |
|
| BLACKBONE_API bool | ApplyHook (void *targetFunc, void *hookFunc, void *ptrAddress, const HookContext::vecState &tracePath=HookContext::vecState(), void *checkIP=0) |
| | Setup hook More...
|
| |
| BLACKBONE_API bool | RemoveHook (void *targetFunc) |
| | Remove existing hook More...
|
| |
| bool blackbone::TraceHook::ApplyHook |
( |
void * |
targetFunc, |
|
|
void * |
hookFunc, |
|
|
void * |
ptrAddress, |
|
|
const HookContext::vecState & |
tracePath = HookContext::vecState(), |
|
|
void * |
chekcIP = 0 |
|
) |
| |
Setup hook
- Parameters
-
| targetFunc | Target function to be hooked |
| hookFunc | New function |
| ptrAddress | Address of pointer to destroy |
| tracePath | Function tracing path |
| checkIP | Optional. Address of instruction that checks target pointer |
- Returns
- true on success, false if already hooked
| bool blackbone::TraceHook::RemoveHook |
( |
void * |
targetFunc | ) |
|
Remove existing hook
- Parameters
-
| targetFunc | Target function ptr |
- Returns
- true on success, false if not found
The documentation for this class was generated from the following files:
- C:/Users/Ton/Documents/visual studio 2013/projects/blackbone/src/BlackBone/LocalHook/TraceHook.h
- C:/Users/Ton/Documents/visual studio 2013/projects/blackbone/src/BlackBone/LocalHook/TraceHook.cpp