From 0f0ff9e1b91b64d2fe5d35a8f7f30f427905f66e Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 13 Jul 2026 17:11:20 +0200 Subject: Fix function loader, it used to load function name that partially matches Add checks in open_pdb --- include/funcs.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/funcs.h') 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) -- cgit v1.3