[PATCH] D66020: [libFuzzer] Merge: print stats after reading the output corpus dir.

Max Moroz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 11:12:57 PDT 2019


Dor1s updated this revision to Diff 214409.
Dor1s added a comment.

Use LOADED instead of INITED, plus fix alignment of keywords in the log


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66020/new/

https://reviews.llvm.org/D66020

Files:
  lib/fuzzer/FuzzerMerge.cpp


Index: lib/fuzzer/FuzzerMerge.cpp
===================================================================
--- lib/fuzzer/FuzzerMerge.cpp
+++ lib/fuzzer/FuzzerMerge.cpp
@@ -239,6 +239,8 @@
     // Show stats.
     if (!(TotalNumberOfRuns & (TotalNumberOfRuns - 1)))
       PrintStats("pulse ");
+    if (TotalNumberOfRuns == M.NumFilesInFirstCorpus)
+      PrintStats("LOADED");
     // Write the post-run marker and the coverage.
     OF << "FT " << i;
     for (size_t F : UniqFeatures)
@@ -252,7 +254,7 @@
     OF << "\n";
     OF.flush();
   }
-  PrintStats("DONE ");
+  PrintStats("DONE  ");
 }
 
 static void WriteNewControlFile(const std::string &CFPath,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66020.214409.patch
Type: text/x-patch
Size: 657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190809/b0e1a482/attachment.bin>


More information about the llvm-commits mailing list