Revert "[libFuzzer] Mutation tracking and logging implemented"
This reverts r336597 due to bot breakage.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer@336616 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/FuzzerMutate.h b/FuzzerMutate.h
index 3216522..996d756 100644
--- a/FuzzerMutate.h
+++ b/FuzzerMutate.h
@@ -86,11 +86,8 @@
Random &GetRand() { return Rand; }
- void PrintMutationStats();
-
- void RecordUsefulMutations();
-
private:
+
struct Mutator {
size_t (MutationDispatcher::*Fn)(uint8_t *Data, size_t Size, size_t Max);
const char *Name;
@@ -131,8 +128,8 @@
// entries that led to successful discoveries in the past mutations.
Dictionary PersistentAutoDictionary;
+ Vector<Mutator> CurrentMutatorSequence;
Vector<DictionaryEntry *> CurrentDictionaryEntrySequence;
- Vector<size_t> CurrentMutatorIdxSequence;
static const size_t kCmpDictionaryEntriesDequeSize = 16;
DictionaryEntry CmpDictionaryEntriesDeque[kCmpDictionaryEntriesDequeSize];
@@ -146,11 +143,6 @@
Vector<Mutator> Mutators;
Vector<Mutator> DefaultMutators;
-
- // A total count of each mutation used in the fuzzing process.
- Vector<uint64_t> TotalMutations;
- // The number of each mutation that resulted in new coverage.
- Vector<uint64_t> UsefulMutations;
};
} // namespace fuzzer