impl procaddr hook

This commit is contained in:
Kevin Trocolli
2023-12-10 18:41:10 -05:00
parent 888d068d58
commit aaeed25995
3 changed files with 146 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include <windows.h>
#include <stdbool.h>
#include <stdint.h>
#include "hook/table.h"
struct proc_addr_table {
const char *name;
size_t nsyms;
struct hook_symbol *syms;
};
HRESULT proc_addr_table_push(
HMODULE loader_mod,
const char *target,
struct hook_symbol *syms,
size_t nsyms
);
void proc_addr_insert_hooks(HMODULE target);