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

Method MaybeExitGracefully

fuzz/libfuzzer/FuzzerLoop.cpp:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269void Fuzzer::MaybeExitGracefully() {
270 if (!F->GracefulExitRequested) return;
271 Printf("==%lu== INFO: libFuzzer: exiting as requested\n", GetPid());
272 RmDirRecursive(TempPath("FuzzWithFork", ".dir"));
273 F->PrintFinalStats();
274 _Exit(0);
275}
276
277int Fuzzer::InterruptExitCode() {
278 assert(F);

Callers

nothing calls this directly

Calls 5

RmDirRecursiveFunction · 0.85
TempPathFunction · 0.85
PrintFinalStatsMethod · 0.80
PrintfFunction · 0.70
GetPidFunction · 0.70

Tested by

no test coverage detected