[libFuzzer] first experimental attempt at DFT-based mutations (DFT=data-flow-trace)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer@337434 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/FuzzerDataFlowTrace.h b/FuzzerDataFlowTrace.h
index 1511430..ad4faea 100644
--- a/FuzzerDataFlowTrace.h
+++ b/FuzzerDataFlowTrace.h
@@ -40,7 +40,7 @@
public:
void Init(const std::string &DirPath, const std::string &FocusFunction);
void Clear() { Traces.clear(); }
- const Vector<bool> *Get(const std::string &InputSha1) const {
+ const Vector<uint8_t> *Get(const std::string &InputSha1) const {
auto It = Traces.find(InputSha1);
if (It != Traces.end())
return &It->second;
@@ -49,7 +49,7 @@
private:
// Input's sha1 => DFT for the FocusFunction.
- std::unordered_map<std::string, Vector<bool> > Traces;
+ std::unordered_map<std::string, Vector<uint8_t> > Traces;
};
} // namespace fuzzer