diff options
author | Kostya Serebryany <kcc@google.com> | 2018-05-23 01:42:53 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-05-23 01:42:53 +0000 |
commit | f435372b7832350f31e6fbca19ca0ae3c0379008 (patch) | |
tree | 3279a111bdfff6436d7295a356bdf1a4a2a4d269 /lib/fuzzer/FuzzerCorpus.h | |
parent | 8b037333b56457457fb1e4e57c2390ec18ee45dd (diff) |
[libFuzzer] modify -print_corpus_stats to print whether the input reaches the focus function
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@333048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerCorpus.h')
-rw-r--r-- | lib/fuzzer/FuzzerCorpus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuzzer/FuzzerCorpus.h b/lib/fuzzer/FuzzerCorpus.h index 05d527ba0..d09702b3a 100644 --- a/lib/fuzzer/FuzzerCorpus.h +++ b/lib/fuzzer/FuzzerCorpus.h @@ -166,9 +166,9 @@ class InputCorpus { void PrintStats() { for (size_t i = 0; i < Inputs.size(); i++) { const auto &II = *Inputs[i]; - Printf(" [%zd %s]\tsz: %zd\truns: %zd\tsucc: %zd\n", i, + Printf(" [% 3zd %s] sz: % 5zd runs: % 5zd succ: % 5zd focus: %d\n", i, Sha1ToString(II.Sha1).c_str(), II.U.size(), - II.NumExecutedMutations, II.NumSuccessfullMutations); + II.NumExecutedMutations, II.NumSuccessfullMutations, II.HasFocusFunction); } } |