summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerFlags.def
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-12-16 22:42:05 +0000
committerKostya Serebryany <kcc@google.com>2016-12-16 22:42:05 +0000
commitbe7003f99c778beb4917b0caa19c974b0b5bc6fb (patch)
tree824540b5bec2d77501b173d3de3720ad94f1ae5a /llvm/lib/Fuzzer/FuzzerFlags.def
parent7972bb7b875b275799b968cb57773aca54ba17fe (diff)
downloadbcm5719-llvm-be7003f99c778beb4917b0caa19c974b0b5bc6fb.tar.gz
bcm5719-llvm-be7003f99c778beb4917b0caa19c974b0b5bc6fb.zip
[libFuzzer] add an experimental flag -experimental_len_control=1 that sets max_len to 1M and tries to increases the actual max sizes of mutations very gradually. Also remove a bit of dead code
llvm-svn: 289998
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerFlags.def')
-rw-r--r--llvm/lib/Fuzzer/FuzzerFlags.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def
index 68dc820caa3..16917ac6b65 100644
--- a/llvm/lib/Fuzzer/FuzzerFlags.def
+++ b/llvm/lib/Fuzzer/FuzzerFlags.def
@@ -17,6 +17,7 @@ FUZZER_FLAG_INT(runs, -1,
FUZZER_FLAG_INT(max_len, 0, "Maximum length of the test input. "
"If 0, libFuzzer tries to guess a good value based on the corpus "
"and reports it. ")
+FUZZER_FLAG_INT(experimental_len_control, 0, "experimental flag")
FUZZER_FLAG_INT(cross_over, 1, "If 1, cross over inputs.")
FUZZER_FLAG_INT(mutate_depth, 5,
"Apply this number of consecutive mutations to each input.")
OpenPOWER on IntegriCloud