[libFuzzer] make len_control less agressive: set the initial max len to the length...
authorKostya Serebryany <kcc@google.com>
Sat, 16 Feb 2019 01:23:41 +0000 (01:23 +0000)
committerKostya Serebryany <kcc@google.com>
Sat, 16 Feb 2019 01:23:41 +0000 (01:23 +0000)
commitb6ca1e72594a3b79fbe37cd2e70f531c448f3e76
tree2e87c51af15fc6d3002b37453a341755a1ccc28f
parenteac7c3ffaf5df3f61e5379cd3f61dc68a8414d67
[libFuzzer] make len_control less agressive: set the initial max len to the length of the largest seed. This was the original intent, but... Now, with a test, to ensure it stays this way

llvm-svn: 354191
compiler-rt/lib/fuzzer/FuzzerLoop.cpp
compiler-rt/test/fuzzer/len_control.test [new file with mode: 0644]