summaryrefslogtreecommitdiff
path: root/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
commit9d27f84cb4ddc9a9401507f60cb3ac09a37231a4 (patch)
treea8b7994e5c82cfb9cc549502136cbb1c9ccbac3f /lib/fuzzer/FuzzerOptions.h
parenta22026054ba1a9befadef306c3f56481b4397ab3 (diff)
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@337324 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerOptions.h')
-rw-r--r--lib/fuzzer/FuzzerOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fuzzer/FuzzerOptions.h b/lib/fuzzer/FuzzerOptions.h
index e32b7d59b..daa9104f5 100644
--- a/lib/fuzzer/FuzzerOptions.h
+++ b/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;