diff options
author | Kostya Serebryany <kcc@google.com> | 2015-02-04 23:42:42 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2015-02-04 23:42:42 +0000 |
commit | 92e0476c671a3a1734d8c504aac7af6df93feeab (patch) | |
tree | 5af20de462d146ab3a26df08a1e2704f7103fd16 /llvm/lib/Fuzzer/FuzzerFlags.def | |
parent | 4eca9b93720b8f5746159eed43a0b3c0bf496db0 (diff) | |
download | bcm5719-llvm-92e0476c671a3a1734d8c504aac7af6df93feeab.tar.gz bcm5719-llvm-92e0476c671a3a1734d8c504aac7af6df93feeab.zip |
[fuzzer] add flag prefer_small_during_initial_shuffle, be a bit more verbose
llvm-svn: 228235
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerFlags.def')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerFlags.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def index f4a4bb96441..754d02e0153 100644 --- a/llvm/lib/Fuzzer/FuzzerFlags.def +++ b/llvm/lib/Fuzzer/FuzzerFlags.def @@ -21,6 +21,10 @@ FUZZER_FLAG(int, max_len, 64, "Maximal length of the test input.") 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.") +FUZZER_FLAG( + int, prefer_small_during_initial_shuffle, -1, + "If 1, always prefer smaller inputs during the initial corpus shuffle." + " If 0, never do that. If -1, do it sometimes.") FUZZER_FLAG(int, exit_on_first, 0, "If 1, exit after the first new interesting input is found.") FUZZER_FLAG(int, timeout, -1, "Timeout in seconds (if positive).") |