MCPcopy Create free account
hub / github.com/HexHive/NASS / CtrlHandler

Function CtrlHandler

fuzz/libfuzzer/FuzzerUtilWindows.cpp:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81BOOL WINAPI CtrlHandler(DWORD dwCtrlType) {
82 switch (dwCtrlType) {
83 case CTRL_C_EVENT:
84 if (HandlerOpt->HandleInt)
85 Fuzzer::StaticInterruptCallback();
86 return TRUE;
87 case CTRL_BREAK_EVENT:
88 if (HandlerOpt->HandleTerm)
89 Fuzzer::StaticInterruptCallback();
90 return TRUE;
91 }
92 return FALSE;
93}
94
95void CALLBACK AlarmHandler(PVOID, BOOLEAN) {
96 Fuzzer::StaticAlarmCallback();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected