| 10808 | }; |
| 10809 | |
| 10810 | static LONG CALLBACK handleVectoredException(PEXCEPTION_POINTERS ExceptionInfo) { |
| 10811 | for (auto const& def : signalDefs) { |
| 10812 | if (ExceptionInfo->ExceptionRecord->ExceptionCode == def.id) { |
| 10813 | reportFatal(def.name); |
| 10814 | } |
| 10815 | } |
| 10816 | // If its not an exception we care about, pass it along. |
| 10817 | // This stops us from eating debugger breaks etc. |
| 10818 | return EXCEPTION_CONTINUE_SEARCH; |
| 10819 | } |
| 10820 | |
| 10821 | // Since we do not support multiple instantiations, we put these |
| 10822 | // into global variables and rely on cleaning them up in outlined |
nothing calls this directly
no test coverage detected