fixed AutoFixIATExW, now it can dump again

This commit is contained in:
cypherpunk 2014-01-15 00:20:52 +01:00
parent d5d24e5c05
commit d04759b242
1 changed files with 3 additions and 2 deletions

View File

@ -19570,14 +19570,15 @@ __declspec(dllexport) long TITCALL ImporterAutoFixIATExW(DWORD ProcessId, wchar_
lstrcat(DumpFileName, Extension);
//do we need to dump first?
/* TODO
if(DumpRunningProcess)
{
HANDLE hProcess = OpenProcess(PROCESS_VM_READ|PROCESS_QUERY_INFORMATION, FALSE, ProcessId);
if(!DumpProcessW(hProcess, (LPVOID)ImageBase, szDumpedFile, EntryPointAddress))
{
return(NULL); // Critical error! *just to be safe, but it should never happen!
}
}*/
}
//we need to fix iat, thats for sure
int ret = scylla_searchIAT(ProcessId, iatStart, iatSize, SearchStart, false);