|
|
ββββββββββββββββββββββββββββββββββββββββββββ
β C ββββββββββββββββββββββββ 90% β
β C++ ββββββββββββββββββββββββ 90% β
β Assembly ββββββββββββββββββββββββ 70% β
β Go ββββββββββββββββββββββββ 60% β
β Linux ββββββββββββββββββββββββ 70% β
β Git ββββββββββββββββββββββββ 80% β
ββββββββββββββββββββββββββββββββββββββββββββ
/**
* @brief Hooks a given function by overwriting its prologue.
*
* @param target Address of the function to hook.
* @param detour Address of the detour function.
* @param original Receives a trampoline to the original function.
* @return true on success, false on failure.
*
* @see UnhookFunction
*/
bool HookFunction(void *target, void *detour, void **original);
// LLVM style: braces on same line, 2-space indent,
// AlwaysBrace style, no C++11 brace initialization for scalars.Session: 05aafac03c4e0850a036cb2de80a97937a5b9252c3d0504a792bff695efd2cc923




