OSDN Git Service

[libFuzzer] clear the corpus elements if they are evicted (i.e. smaller elements...
authorKostya Serebryany <kcc@google.com>
Wed, 5 Oct 2016 00:25:17 +0000 (00:25 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 5 Oct 2016 00:25:17 +0000 (00:25 +0000)
commitd277734b711c16e9dc2963c169d47d5ca51440c1
treed88db5407fba60ee76ca3ffade7b842036789799
parentc441cc0af2733fcc0741846dde9ece19ed1dbe92
[libFuzzer] clear the corpus elements if they are evicted (i.e. smaller elements with proper coverage are found). Make sure we never try to mutate empty element. Print the corpus size in bytes in the status lines

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283279 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Fuzzer/FuzzerCorpus.h
lib/Fuzzer/FuzzerDriver.cpp
lib/Fuzzer/FuzzerLoop.cpp