diff options
author | Kostya Serebryany <kcc@google.com> | 2018-05-16 23:26:37 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-05-16 23:26:37 +0000 |
commit | e7a38f86feb619a9bcd31871559f6455e21748bf (patch) | |
tree | 585603398b256d9374e0c55eadd8100f7067a585 /lib/fuzzer/tests | |
parent | 851bfbce9fffe4a357445f9780331c7590b9f0aa (diff) |
[libFuzzer] add an experimental flag -focus_function: libFuzzer will try to focus on inputs that trigger that function
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/tests')
-rw-r--r-- | lib/fuzzer/tests/FuzzerUnittest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuzzer/tests/FuzzerUnittest.cpp b/lib/fuzzer/tests/FuzzerUnittest.cpp index c795eddc6..a38a45344 100644 --- a/lib/fuzzer/tests/FuzzerUnittest.cpp +++ b/lib/fuzzer/tests/FuzzerUnittest.cpp @@ -579,7 +579,7 @@ TEST(Corpus, Distribution) { size_t N = 10; size_t TriesPerUnit = 1<<16; for (size_t i = 0; i < N; i++) - C->AddToCorpus(Unit{ static_cast<uint8_t>(i) }, 1, false, {}); + C->AddToCorpus(Unit{ static_cast<uint8_t>(i) }, 1, false, false, {}); Vector<size_t> Hist(N); for (size_t i = 0; i < N * TriesPerUnit; i++) { |