This commit is contained in:
2019-11-10 16:02:05 +01:00
parent 37db06f918
commit b279cfc84a
5 changed files with 64 additions and 27 deletions

3
hook.h
View File

@@ -15,7 +15,8 @@ typedef enum HOOK_STATUS
/**
\brief
\param functionLength Length of the function you want to hook. If the length isn't known, pass 0 and the library will try to figure it out
\param functionLength Length of the function you want to hook.
If the length isn't known, pass 0 and the library will try to figure it out
*/
int hook(void* function, size_t functionLength, void* replacement, void* trampoline);