[lib/Fuzzer] start getting rid of std::cerr. Sadly, these parts of C++ library used...
[oota-llvm.git] / lib / Fuzzer / FuzzerInternal.h
index b25449b2c5f6b8217de284094332d5ae08453c1d..c387fe7a7c6094f91810b60ce381278bf74cffe2 100644 (file)
@@ -38,6 +38,7 @@ size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
 size_t CrossOver(const uint8_t *Data1, size_t Size1, const uint8_t *Data2,
                  size_t Size2, uint8_t *Out, size_t MaxOutSize);
 
+void Printf(const char *Fmt, ...);
 void Print(const Unit &U, const char *PrintAfter = "");
 void PrintASCII(const Unit &U, const char *PrintAfter = "");
 std::string Hash(const Unit &U);
@@ -64,7 +65,6 @@ class Fuzzer {
     bool UseCounters = false;
     bool UseTraces = false;
     bool UseFullCoverageSet  = false;
-    bool UseCoveragePairs = false;
     bool Reload = true;
     int PreferSmallDuringInitialShuffle = -1;
     size_t MaxNumberOfRuns = ULONG_MAX;
@@ -135,7 +135,6 @@ class Fuzzer {
   std::vector<Unit> Corpus;
   std::unordered_set<std::string> UnitHashesAddedToCorpus;
   std::unordered_set<uintptr_t> FullCoverageSets;
-  std::unordered_set<uint64_t>  CoveragePairs;
 
   // For UseCounters
   std::vector<uint8_t> CounterBitmap;