|
static BLACKBONE_API LONG NTAPI | VectoredHandler (PEXCEPTION_POINTERS excpt) |
| Exception handlers More...
|
|
static BLACKBONE_API LONG NTAPI | Int3Handler (PEXCEPTION_POINTERS excpt) |
| Int3 exception handler More...
|
|
static BLACKBONE_API LONG NTAPI | AVHandler (PEXCEPTION_POINTERS excpt) |
| Access violation handler More...
|
|
static BLACKBONE_API LONG NTAPI | StepHandler (PEXCEPTION_POINTERS excpt) |
| Single step exception handler More...
|
|
|
bool | _hooked = false |
|
void * | _callback = nullptr |
|
void * | _callbackClass = nullptr |
|
void * | _original = nullptr |
|
void * | _internalHandler = nullptr |
|
void * | _callOriginal = nullptr |
|
mapIdx | _hwbpIdx |
|
size_t | _origSize = 0 |
|
uint8_t * | _buf = nullptr |
|
uint8_t * | _origCode = nullptr |
|
uint8_t * | _newCode = nullptr |
|
HookType::e | _type = HookType::Inline |
|
CallOrder::e | _order = CallOrder::HookFirst |
|
ReturnMethod::e | _retType = ReturnMethod::UseOriginal |
|
|
static BLACKBONE_API
std::unordered_map< void
*, DetourBase * > | _breakpoints |
|
static BLACKBONE_API void * | _vecHandler = nullptr |
|
LONG NTAPI blackbone::DetourBase::AVHandler |
( |
PEXCEPTION_POINTERS |
excpt | ) |
|
|
staticprotected |
Access violation handler
- Parameters
-
excpt | Exception information |
- Returns
- Exception disposition
void blackbone::DetourBase::CopyOldCode |
( |
uint8_t * |
ptr | ) |
|
|
protected |
Copy original function bytes
- Parameters
-
Ptr | Origianl function address |
bool blackbone::DetourBase::DisableHook |
( |
| ) |
|
|
protected |
Temporarily disable hook
- Returns
- true on success
bool blackbone::DetourBase::EnableHook |
( |
| ) |
|
|
protected |
Enable disabled hook
- Returns
- true on success
LONG NTAPI blackbone::DetourBase::Int3Handler |
( |
PEXCEPTION_POINTERS |
excpt | ) |
|
|
staticprotected |
Int3 exception handler
- Parameters
-
excpt | Exception information |
- Returns
- Exception disposition
LONG NTAPI blackbone::DetourBase::StepHandler |
( |
PEXCEPTION_POINTERS |
excpt | ) |
|
|
staticprotected |
Single step exception handler
- Parameters
-
excpt | Exception information |
- Returns
- Exception disposition
bool blackbone::DetourBase::ToggleHBP |
( |
int |
index, |
|
|
bool |
enable |
|
) |
| |
|
protected |
Toggle hardware breakpoint for current thread
- Parameters
-
index | Breakpoint index ( 0-4 ) |
enable | true to enable, false to disable |
- Returns
- true on success
LONG NTAPI blackbone::DetourBase::VectoredHandler |
( |
PEXCEPTION_POINTERS |
excpt | ) |
|
|
staticprotected |
Exception handlers
Exception handler
- Parameters
-
excpt | Exception information |
- Returns
- Exception disposition
The documentation for this class was generated from the following files:
- C:/Users/Ton/Documents/Visual Studio 2013/Projects/BlackBone/src/BlackBone/LocalHook/LocalHookBase.h
- C:/Users/Ton/Documents/Visual Studio 2013/Projects/BlackBone/src/BlackBone/LocalHook/LocalHookBase.cpp