mirror of https://github.com/x64dbg/TitanEngine
Remove unnecessary FlushInstructionCache
This commit is contained in:
parent
490ce02fb3
commit
01d0d1854f
|
|
@ -654,7 +654,6 @@ __declspec(dllexport) void TITCALL DebugLoop()
|
||||||
ReadProcessMemory(dbgProcessInformation.hProcess, csp, &data, sizeof(ULONG_PTR), 0);
|
ReadProcessMemory(dbgProcessInformation.hProcess, csp, &data, sizeof(ULONG_PTR), 0);
|
||||||
data &= ~UE_TRAP_FLAG;
|
data &= ~UE_TRAP_FLAG;
|
||||||
WriteProcessMemory(dbgProcessInformation.hProcess, csp, &data, sizeof(ULONG_PTR), 0);
|
WriteProcessMemory(dbgProcessInformation.hProcess, csp, &data, sizeof(ULONG_PTR), 0);
|
||||||
FlushInstructionCache(dbgProcessInformation.hProcess, NULL, 0);
|
|
||||||
}
|
}
|
||||||
if(ResetBPX) //restore 'normal' breakpoint
|
if(ResetBPX) //restore 'normal' breakpoint
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue