summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerInternal.h
diff options
context:
space:
mode:
authorMike Aizatsky <aizatsky@chromium.org>2015-11-12 04:38:40 +0000
committerMike Aizatsky <aizatsky@chromium.org>2015-11-12 04:38:40 +0000
commita9c2387192e20e68ef8b8d58d0227467560f4b46 (patch)
tree3f7b3767b93b1376dd1ed445339560742111bf70 /llvm/lib/Fuzzer/FuzzerInternal.h
parent3702255bc99c56c565d0c2a099ee30071a15e621 (diff)
downloadbcm5719-llvm-a9c2387192e20e68ef8b8d58d0227467560f4b46.tar.gz
bcm5719-llvm-a9c2387192e20e68ef8b8d58d0227467560f4b46.zip
output_csv libfuzzer option
Summary: The option outputs statistics in CSV format preceded by 1 header line. This is intended for machine processing of the output. -verbosity=0 should likely be set. Differential Revision: http://reviews.llvm.org/D14600 llvm-svn: 252856
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerInternal.h')
-rw-r--r--llvm/lib/Fuzzer/FuzzerInternal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerInternal.h b/llvm/lib/Fuzzer/FuzzerInternal.h
index 7cb78fd91ee..9d1849f210f 100644
--- a/llvm/lib/Fuzzer/FuzzerInternal.h
+++ b/llvm/lib/Fuzzer/FuzzerInternal.h
@@ -96,6 +96,7 @@ class Fuzzer {
std::string ArtifactPrefix = "./";
bool SaveArtifacts = true;
bool PrintNEW = true; // Print a status line when new units are found;
+ bool OutputCSV = false;
};
Fuzzer(UserSuppliedFuzzer &USF, FuzzingOptions Options);
void AddToCorpus(const Unit &U) { Corpus.push_back(U); }
OpenPOWER on IntegriCloud