[compiler-rt] [llvm] [libFuzzer] Stop fuzzing if no new corpus were found within a specified period (PR #176177)

Ilmar S. Habibulin via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 06:15:08 PDT 2026


ngr-ilmarh wrote:

After some tests i've decided to change the order of stats output, putting seconds with out new paths to the end. Being in the middle it breaks columns too often, so it's hard to understand stat changes quickly

`+  void PrintStats(Stats *Stats, FuzzJob *Job) {
+    Printf("#%zd: cov: %zd ft: %zd corp: %zd exec/s: %zd "
+           "oom/timeout/crash: %zd/%zd/%zd time: %zds job: %zd dft_time: %d wo_finds: %zd\n",
+           NumRuns, Cov.size(), Features.size(),
+           Files.size(), Stats->average_exec_per_sec, NumOOMs, NumTimeouts,
+           NumCrashes, secondsSinceProcessStartUp(), Job->JobId,
+           Job->DftTimeInSeconds, secondsSinceLastNewCorpus());
+  }
`

https://github.com/llvm/llvm-project/pull/176177


More information about the llvm-commits mailing list