From a166c9ae9599cd2ad9e8937a30aab5b06ff5261e Mon Sep 17 00:00:00 2001 From: Alberto Garcia Illera Date: Thu, 15 Apr 2021 17:36:08 -0700 Subject: [PATCH] Increase the verbosity level needed to print Mutation sequence The mutation sequence is not that important and it populates most of the output for large corpus due to the high amount of mutations. With this change the sequence will not be shown by default but the parameter `-verbosity=2` should be set. --- compiler-rt/lib/fuzzer/FuzzerLoop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/fuzzer/FuzzerLoop.cpp b/compiler-rt/lib/fuzzer/FuzzerLoop.cpp index 149742b4c2fe9..307210a2a8f51 100644 --- a/compiler-rt/lib/fuzzer/FuzzerLoop.cpp +++ b/compiler-rt/lib/fuzzer/FuzzerLoop.cpp @@ -644,7 +644,7 @@ void Fuzzer::PrintStatusForNewUnit(const Unit &U, const char *Text) { if (!Options.PrintNEW) return; PrintStats(Text, ""); - if (Options.Verbosity) { + if (Options.Verbosity >= 2) { Printf(" L: %zd/%zd ", U.size(), Corpus.MaxInputSize()); MD.PrintMutationSequence(Options.Verbosity >= 2); Printf("\n");