summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerFlags.def
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-10-24 01:16:40 +0000
committerKostya Serebryany <kcc@google.com>2015-10-24 01:16:40 +0000
commit9cc3b0ddb60f7515b5216fdb568e71aa7a7596c8 (patch)
tree6d1fcc00f09413ab0d9308a99f5e5197b01e6185 /llvm/lib/Fuzzer/FuzzerFlags.def
parentedb35d95d1ffa14fca9dfdb97d30cc0f834155ba (diff)
downloadbcm5719-llvm-9cc3b0ddb60f7515b5216fdb568e71aa7a7596c8.tar.gz
bcm5719-llvm-9cc3b0ddb60f7515b5216fdb568e71aa7a7596c8.zip
[libFuzzer] add -merge flag to merge corpora
llvm-svn: 251168
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerFlags.def')
-rw-r--r--llvm/lib/Fuzzer/FuzzerFlags.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def
index cea28e3bf04..9cd2dedb37a 100644
--- a/llvm/lib/Fuzzer/FuzzerFlags.def
+++ b/llvm/lib/Fuzzer/FuzzerFlags.def
@@ -36,6 +36,8 @@ FUZZER_FLAG_INT(
save_minimized_corpus, 0,
"If 1, the minimized corpus is saved into the first input directory. "
"Example: ./fuzzer -save_minimized_corpus=1 NEW_EMPTY_DIR OLD_CORPUS")
+FUZZER_FLAG_INT(merge, 0, "If 1, the 2-nd, 3-rd, etc corpora will be "
+ "merged into the 1-st corpus. Only interesting units will be taken.")
FUZZER_FLAG_INT(use_counters, 1, "Use coverage counters")
FUZZER_FLAG_INT(use_indir_calls, 1, "Use indirect caller-callee counters")
FUZZER_FLAG_INT(use_traces, 0, "Experimental: use instruction traces")
OpenPOWER on IntegriCloud