diff options
author | Kostya Serebryany <kcc@google.com> | 2016-10-08 23:24:45 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-10-08 23:24:45 +0000 |
commit | c5325ed29d01d2d24121fcc57249c7939d085814 (patch) | |
tree | b75d5abe290ada0a9061898b99365dc862eca895 /llvm/lib/Fuzzer/test/FuzzerUnittest.cpp | |
parent | 8ec7b4f588fb1bf00672318d3e313480726dd8ef (diff) | |
download | bcm5719-llvm-c5325ed29d01d2d24121fcc57249c7939d085814.tar.gz bcm5719-llvm-c5325ed29d01d2d24121fcc57249c7939d085814.zip |
[libFuzzer] when shrinking the corpus, delete evicted files previously created by the current process
llvm-svn: 283682
Diffstat (limited to 'llvm/lib/Fuzzer/test/FuzzerUnittest.cpp')
-rw-r--r-- | llvm/lib/Fuzzer/test/FuzzerUnittest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp b/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp index ed37055fe45..118ae57cb78 100644 --- a/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp +++ b/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp @@ -579,7 +579,7 @@ TEST(FuzzerUtil, Base64) { TEST(Corpus, Distribution) { Random Rand(0); - InputCorpus C; + InputCorpus C(""); size_t N = 10; size_t TriesPerUnit = 1<<20; for (size_t i = 0; i < N; i++) |