summaryrefslogtreecommitdiffstats
path: root/include/funcs.h
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2026-07-13 17:11:20 +0200
committerladevieq <ladevie.quentin@gmail.com>2026-07-13 17:11:20 +0200
commit0f0ff9e1b91b64d2fe5d35a8f7f30f427905f66e (patch)
treeb2d4f41af4dcb44c17a56b99f542870e0a28800d /include/funcs.h
parentcee4c6d1c8cbf898d6aa9ad555d8dfcece4c7d96 (diff)
Fix function loader, it used to load function name that partially
matches Add checks in open_pdb
Diffstat (limited to 'include/funcs.h')
-rw-r--r--include/funcs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/funcs.h b/include/funcs.h
index 8ed5cf1..d15cdc7 100644
--- a/include/funcs.h
+++ b/include/funcs.h
@@ -10,6 +10,7 @@ KERNEL32(GetThreadContext)
KERNEL32(SetThreadContext)
KERNEL32(CreateFileA)
+KERNEL32(GetFileSizeEx)
KERNEL32(ReadFile)
KERNEL32(WriteFile)
KERNEL32(SetFilePointer)
@@ -20,10 +21,10 @@ KERNEL32(SetConsoleMode)
KERNEL32(ReadConsoleA)
KERNEL32(WriteConsoleA)
-KERNEL32(ReadProcessMemory)
-KERNEL32(OutputDebugStringA)
-KERNEL32(ContinueDebugEvent)
-KERNEL32(WaitForDebugEventEx)
+KERNEL_BASE(ReadProcessMemory)
+KERNEL_BASE(OutputDebugStringA)
+KERNEL_BASE(ContinueDebugEvent)
+KERNEL_BASE(WaitForDebugEventEx)
KERNEL32(WideCharToMultiByte)
KERNEL32(GetFinalPathNameByHandleA)