- fixed a switch statement

- fixed an anti-debug trick using the DBG_PRINTEXCEPTION_C (0x40010006)
This commit is contained in:
mr.exodia 2014-02-08 20:10:37 +01:00
parent 0590511f5d
commit 7ef9d9ef63
1 changed files with 3 additions and 1 deletions

View File

@ -16752,6 +16752,8 @@ __declspec(dllexport) void TITCALL DebugLoop()
DBGCustomHandler->chOutputDebugString = NULL;
}
}
//http://maximumcrack.wordpress.com/2009/06/22/outputdebugstring-awesomeness/ (the final advice is incorrect, but still helpful)
DBGCode = DBG_EXCEPTION_NOT_HANDLED; //pass exception to debuggee
}
break;
@ -17785,7 +17787,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
}
break;
case STATUS_NONCONTINUABLE_EXCEPTION;
case STATUS_NONCONTINUABLE_EXCEPTION:
{
DBGCode = DBG_EXCEPTION_NOT_HANDLED;
if(DBGCustomHandler->chNonContinuableException != NULL)