| 267 | } |
| 268 | |
| 269 | void 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 | |
| 277 | int Fuzzer::InterruptExitCode() { |
| 278 | assert(F); |
nothing calls this directly
no test coverage detected