Skip to content

Commit

Permalink
Ignore BP's caused by DBVM if wrong process
Browse files Browse the repository at this point in the history
  • Loading branch information
cheat-engine committed Jul 18, 2019
1 parent cf20e58 commit ef87d5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DBKKernel/debugger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,9 @@ int interrupt1_handler(UINT_PTR *stackpointer, UINT_PTR *currentdebugregs)
if ((dr6.B3) && (!(dr7.L3 || dr7.G3))) { DbgPrint("setting RF because of B3\n"); ((PEFLAGS)&stackpointer[si_eflags])->RF=1; return 1; } // ... DR3 ...
}

if (causedbyDBVM)
return 1; //correct PA, bad PID, ignore BP

return 0; //still here, so let windows handle it

}
Expand Down

0 comments on commit ef87d5a

Please sign in to comment.