3 point:
- Use SetUnhandledExceptionFilter to catch exception, and use MiniDumpWriteDump get dump file in process.
- Because the CRT function may call the SetUnhandledExceptionFilter before it check the pramater or something else, so our handler will no be call, we must hook the SetUnhandledExceptionFilter.
- And we alse should call _set_invalid_parameter_handler and _set_purecall_handler functions to take care of the CRT error.
chromium's breakpad project doesn't hook SetUnhandledExceptionFilter, So someone find it can not handle all exception, Is it true? why?
more
[email protected]
2013.7.21