mirror of https://github.com/x64dbg/TitanEngine
endless loop fix
This commit is contained in:
parent
e8da7ec7ad
commit
bdb311d54e
|
|
@ -43,6 +43,10 @@ long IsBadReadPtrRemote(HANDLE hProcess, const VOID *lp, SIZE_T length)
|
||||||
return res; //this is bad
|
return res; //this is bad
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return res; //this is bad
|
||||||
|
}
|
||||||
|
|
||||||
section += (ULONG_PTR)MemInfo.RegionSize;
|
section += (ULONG_PTR)MemInfo.RegionSize;
|
||||||
|
|
||||||
|
|
@ -57,8 +61,6 @@ long IsBadReadPtrRemote(HANDLE hProcess, const VOID *lp, SIZE_T length)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
__declspec(dllexport) void* TITCALL StaticDisassembleEx(ULONG_PTR DisassmStart, LPVOID DisassmAddress)
|
__declspec(dllexport) void* TITCALL StaticDisassembleEx(ULONG_PTR DisassmStart, LPVOID DisassmAddress)
|
||||||
{
|
{
|
||||||
_DecodedInst engineDecodedInstructions[1];
|
_DecodedInst engineDecodedInstructions[1];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue