summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerOptions.h
diff options
context:
space:
mode:
authorMax Moroz <mmoroz@chromium.org>2018-07-17 20:37:40 +0000
committerMax Moroz <mmoroz@chromium.org>2018-07-17 20:37:40 +0000
commit061b4af998fc4a211566505555403806c373886a (patch)
tree5da0adedac3b4f0a9f6f721f0b11366bc77db882 /compiler-rt/lib/fuzzer/FuzzerOptions.h
parentd3a308789eaa0f878bc3a254917ae89efdbd3096 (diff)
downloadbcm5719-llvm-061b4af998fc4a211566505555403806c373886a.tar.gz
bcm5719-llvm-061b4af998fc4a211566505555403806c373886a.zip
[libFuzzer] Mutation tracking and logging implemented.
Summary: Code now exists to track number of mutations that are used in fuzzing in total and ones that produce new coverage. The stats are currently being dumped to the command line. Patch by Kodé Williams (@kodewilliams). Reviewers: metzman, Dor1s, morehouse, kcc Reviewed By: Dor1s, morehouse, kcc Subscribers: delcypher, kubamracek, kcc, morehouse, llvm-commits, #sanitizers, mgorny Differential Revision: https://reviews.llvm.org/D48054 llvm-svn: 337324
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerOptions.h')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerOptions.h b/compiler-rt/lib/fuzzer/FuzzerOptions.h
index e32b7d59b85..daa9104f5c5 100644
--- a/compiler-rt/lib/fuzzer/FuzzerOptions.h
+++ b/compiler-rt/lib/fuzzer/FuzzerOptions.h
@@ -52,6 +52,7 @@ struct FuzzingOptions {
bool PrintNewCovPcs = false;
int PrintNewCovFuncs = 0;
bool PrintFinalStats = false;
+ bool PrintMutationStats = false;
bool PrintCorpusStats = false;
bool PrintCoverage = false;
bool PrintUnstableStats = false;
OpenPOWER on IntegriCloud