SafetyHook
|
Easy to use API for creating hooks. More...
#include "safetyhook/common.hpp"
#include "safetyhook/inline_hook.hpp"
#include "safetyhook/mid_hook.hpp"
#include "safetyhook/utility.hpp"
#include "safetyhook/vmt_hook.hpp"
Go to the source code of this file.
Functions | |
InlineHook SAFETYHOOK_API | safetyhook::create_inline (void *target, void *destination, InlineHook::Flags flags=InlineHook::Default) |
Easy to use API for creating an InlineHook. | |
template<typename T, typename U> | |
InlineHook | safetyhook::create_inline (T target, U destination, InlineHook::Flags flags=InlineHook::Default) |
Easy to use API for creating an InlineHook. | |
MidHook SAFETYHOOK_API | safetyhook::create_mid (void *target, MidHookFn destination, MidHook::Flags flags=MidHook::Default) |
Easy to use API for creating a MidHook. | |
template<typename T> | |
MidHook | safetyhook::create_mid (T target, MidHookFn destination, MidHook::Flags flags=MidHook::Default) |
Easy to use API for creating a MidHook. | |
VmtHook SAFETYHOOK_API | safetyhook::create_vmt (void *object) |
Easy to use API for creating a VmtHook. | |
template<typename T> | |
VmHook | safetyhook::create_vm (VmtHook &vmt, size_t index, T destination) |
Easy to use API for creating a VmHook. | |
Easy to use API for creating hooks.
|
nodiscard |
Easy to use API for creating an InlineHook.
target | The address of the function to hook. |
destination | The address of the destination function. |
flags | The flags to use. |
|
nodiscard |
Easy to use API for creating an InlineHook.
target | The address of the function to hook. |
destination | The address of the destination function. |
flags | The flags to use. |
|
nodiscard |
|
nodiscard |
|
nodiscard |
Easy to use API for creating a VmHook.
vmt | The VmtHook to use to create the VmHook. |
index | The index of the method to hook. |
destination | The destination function. |
|
nodiscard |
Easy to use API for creating a VmtHook.
object | The object to hook. |