diff options
author | Kostya Serebryany <kcc@google.com> | 2015-12-19 02:49:09 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2015-12-19 02:49:09 +0000 |
commit | 27ab2d759f4612126ea3ed9698ff7466804cf7bc (patch) | |
tree | 539df51e3d0d86cabdf404001d4d3947bc60037a /llvm/lib/Fuzzer/FuzzerInternal.h | |
parent | d63db6ef1f23e597277005c9ba177184b0e4065e (diff) | |
download | bcm5719-llvm-27ab2d759f4612126ea3ed9698ff7466804cf7bc.tar.gz bcm5719-llvm-27ab2d759f4612126ea3ed9698ff7466804cf7bc.zip |
[libFuzzer] make CrossOver just one of the other mutations
llvm-svn: 256081
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerInternal.h')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerInternal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerInternal.h b/llvm/lib/Fuzzer/FuzzerInternal.h index bc6bec7473d..e96a4bc35fe 100644 --- a/llvm/lib/Fuzzer/FuzzerInternal.h +++ b/llvm/lib/Fuzzer/FuzzerInternal.h @@ -24,7 +24,6 @@ #include "FuzzerInterface.h" namespace fuzzer { -typedef std::vector<uint8_t> Unit; using namespace std::chrono; std::string FileToString(const std::string &Path); @@ -132,7 +131,7 @@ class Fuzzer { private: void AlarmCallback(); - void MutateAndTestOne(Unit *U); + void MutateAndTestOne(); void ReportNewCoverage(const Unit &U); bool RunOne(const Unit &U); void RunOneAndUpdateCorpus(Unit &U); |