[PATCH] D42932: [libFuzzer] Set -experimental_len_control=1000 as default.

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 14:08:00 PST 2018


morehouse created this revision.
morehouse added a reviewer: kcc.

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.


https://reviews.llvm.org/D42932

Files:
  compiler-rt/lib/fuzzer/FuzzerFlags.def


Index: compiler-rt/lib/fuzzer/FuzzerFlags.def
===================================================================
--- compiler-rt/lib/fuzzer/FuzzerFlags.def
+++ compiler-rt/lib/fuzzer/FuzzerFlags.def
@@ -17,7 +17,7 @@
 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(experimental_len_control, 1000, "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.")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42932.132890.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180205/0b05e87d/attachment.bin>


More information about the llvm-commits mailing list