commit | 8c42adabd04ac47c0930f3494873caf82881e537 | [log] [tgz] |
---|---|---|
author | morehouse <morehouse> | Tue Feb 13 20:52:15 2018 +0000 |
committer | morehouse <morehouse> | Tue Feb 13 20:52:15 2018 +0000 |
tree | 76bbf59ac78e70381eefe6a9d050595cd14c01d3 | |
parent | f9123763420c419ca631ae437c726133d128c35f [diff] [blame] |
[libFuzzer] Set -experimental_len_control=1000 as default. Summary: Experiments using https://github.com/google/fuzzer-test-suite/tree/master/engine-comparison show a significant increase in coverage and reduction in corpus size with this option enabled. Addresses https://llvm.org/pr36371. Reviewers: kcc Reviewed By: kcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D42932 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer@325050 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/FuzzerDriver.cpp b/FuzzerDriver.cpp index f6b642d..516b003 100644 --- a/FuzzerDriver.cpp +++ b/FuzzerDriver.cpp
@@ -567,7 +567,7 @@ FuzzingOptions Options; Options.Verbosity = Flags.verbosity; Options.MaxLen = Flags.max_len; - Options.ExperimentalLenControl = Flags.experimental_len_control; + Options.LenControl = Flags.len_control; Options.UnitTimeoutSec = Flags.timeout; Options.ErrorExitCode = Flags.error_exitcode; Options.TimeoutExitCode = Flags.timeout_exitcode;