|
|
┌──────────────────────────────────────────┐
│ 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: lost access




