mai2: wip hook

This commit is contained in:
2023-11-30 02:29:27 -05:00
parent 4dcf01f643
commit 9d8a38bbf7
30 changed files with 1646 additions and 5 deletions

View File

@ -76,8 +76,13 @@ static void proc_addr_hook_init(void)
InitializeCriticalSection(&proc_addr_hook_lock);
proc_addr_insert_hooks(NULL);
}
void proc_addr_insert_hooks(HMODULE target)
{
hook_table_apply(
NULL,
target,
"kernel32.dll",
win32_hooks,
_countof(win32_hooks));