mirror of https://github.com/x64dbg/TitanEngine
fixed AutoFixIATExW, now it can dump again
This commit is contained in:
parent
d5d24e5c05
commit
d04759b242
|
|
@ -19570,14 +19570,15 @@ __declspec(dllexport) long TITCALL ImporterAutoFixIATExW(DWORD ProcessId, wchar_
|
||||||
lstrcat(DumpFileName, Extension);
|
lstrcat(DumpFileName, Extension);
|
||||||
|
|
||||||
//do we need to dump first?
|
//do we need to dump first?
|
||||||
/* TODO
|
|
||||||
if(DumpRunningProcess)
|
if(DumpRunningProcess)
|
||||||
{
|
{
|
||||||
|
HANDLE hProcess = OpenProcess(PROCESS_VM_READ|PROCESS_QUERY_INFORMATION, FALSE, ProcessId);
|
||||||
|
|
||||||
if(!DumpProcessW(hProcess, (LPVOID)ImageBase, szDumpedFile, EntryPointAddress))
|
if(!DumpProcessW(hProcess, (LPVOID)ImageBase, szDumpedFile, EntryPointAddress))
|
||||||
{
|
{
|
||||||
return(NULL); // Critical error! *just to be safe, but it should never happen!
|
return(NULL); // Critical error! *just to be safe, but it should never happen!
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
|
|
||||||
//we need to fix iat, thats for sure
|
//we need to fix iat, thats for sure
|
||||||
int ret = scylla_searchIAT(ProcessId, iatStart, iatSize, SearchStart, false);
|
int ret = scylla_searchIAT(ProcessId, iatStart, iatSize, SearchStart, false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue