feat: Add missing cleanup functions various iidx hook modules

Summary:

Test Plan:
This commit is contained in:
icex2
2024-08-15 13:24:47 +02:00
parent f5ed7f5231
commit 51f3b07acf
18 changed files with 93 additions and 1 deletions
+10
View File
@@ -117,6 +117,16 @@ void adapter_hook_init(void)
{
hook_table_apply(
NULL, "iphlpapi.dll", adapter_hook_syms, lengthof(adapter_hook_syms));
log_info("Inserted adapter hooks");
}
void adapter_hook_fini()
{
hook_table_revert(
NULL, "iphlpapi.dll", adapter_hook_syms, lengthof(adapter_hook_syms));
log_info("Removed adapter hooks");
}
void adapter_hook_override(const char *adapter_address)