add hooklib for external functions loaded via getprocaddress

This commit is contained in:
2022-12-11 06:22:00 -05:00
committed by Hay1tsme
parent 69f3c380f3
commit f0b307e120
3 changed files with 145 additions and 0 deletions

18
hooklib/procaddr.h Normal file
View File

@ -0,0 +1,18 @@
#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(
const char *target,
struct hook_symbol *syms,
size_t nsyms
);