Now correctly checking calling down to 32 bit version.
This commit is contained in:
parent
4350357634
commit
8bd3c060ec
|
@ -397,8 +397,7 @@ DWORD64 WINAPI SymLoadModuleEx(HANDLE hProcess, HANDLE hFile, PCSTR ImageName,
|
||||||
DWORD WINAPI SymLoadModule64(HANDLE hProcess, HANDLE hFile, char* ImageName,
|
DWORD WINAPI SymLoadModule64(HANDLE hProcess, HANDLE hFile, char* ImageName,
|
||||||
char* ModuleName, DWORD64 BaseOfDll, DWORD SizeOfDll)
|
char* ModuleName, DWORD64 BaseOfDll, DWORD SizeOfDll)
|
||||||
{
|
{
|
||||||
FIXME("SymLoadModule should probably reference SymLoadModule64 instead of this way\n");
|
if (!validate_addr64(BaseOfDll)) return FALSE;
|
||||||
|
|
||||||
return SymLoadModule(hProcess, hFile, ImageName, ModuleName, (DWORD)BaseOfDll, SizeOfDll);
|
return SymLoadModule(hProcess, hFile, ImageName, ModuleName, (DWORD)BaseOfDll, SizeOfDll);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue