1
0
Fork 0

EXE: Skip OutputDebugString exceptions in handler

This commit is contained in:
Nukem 2015-07-13 19:46:35 -04:00
parent ce85585a45
commit 2ba3de4b3a
1 changed files with 6 additions and 0 deletions

View File

@ -91,7 +91,13 @@ void CrashDumpCreate(EXCEPTION_POINTERS* ExceptionPointers)
LONG CALLBACK CrashDumpVectoredHandler(EXCEPTION_POINTERS* ExceptionInfo)
{
if(ExceptionInfo)
{
// Skip DBG_PRINTEXCEPTION_C
if(ExceptionInfo->ExceptionRecord->ExceptionCode != DBG_PRINTEXCEPTION_C)
return EXCEPTION_CONTINUE_SEARCH;
CrashDumpCreate(ExceptionInfo);
}
return EXCEPTION_CONTINUE_SEARCH;
}