add exception code filter

This commit is contained in:
Asuka 2019-06-28 17:24:14 +08:00
parent f378641462
commit 1bfd2d3d43

View file

@ -349,6 +349,11 @@ long CTLSHandlerWin::VEHExceptionHandler(void* pExceptionArg)
long nRet = EXCEPTION_CONTINUE_SEARCH;
do
{
if (pExceptionInfo->ExceptionRecord->ExceptionCode != EXCEPTION_ACCESS_VIOLATION)
{
break;
}
LOG_DEBUG("exception code %x addr %p",
pExceptionInfo->ExceptionRecord->ExceptionCode, pExceptionInfo->ExceptionRecord->ExceptionAddress);