diff options
author | Kostya Serebryany <kcc@google.com> | 2018-07-19 01:23:32 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-07-19 01:23:32 +0000 |
commit | b245ab336ef0cef374b36d0fa4be432b3e6afcd2 (patch) | |
tree | c20a0ef23c15af14c1c7be55749b4ed7b4dba6b2 /lib/fuzzer/FuzzerDataFlowTrace.cpp | |
parent | 385df7539a532c43119655dec04b7ac50111b2cb (diff) | |
download | compiler-rt-b245ab336ef0cef374b36d0fa4be432b3e6afcd2.tar.gz |
[libFuzzer] first experimental attempt at DFT-based mutations (DFT=data-flow-trace)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@337434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerDataFlowTrace.cpp')
-rw-r--r-- | lib/fuzzer/FuzzerDataFlowTrace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuzzer/FuzzerDataFlowTrace.cpp b/lib/fuzzer/FuzzerDataFlowTrace.cpp index 114034c5b..764f3e49f 100644 --- a/lib/fuzzer/FuzzerDataFlowTrace.cpp +++ b/lib/fuzzer/FuzzerDataFlowTrace.cpp @@ -67,7 +67,7 @@ void DataFlowTrace::Init(const std::string &DirPath, const char *End = L.c_str() + L.size(); assert(Beg < End); size_t Len = End - Beg; - Vector<bool> V(Len); + Vector<uint8_t> V(Len); for (size_t I = 0; I < Len; I++) { if (Beg[I] != '0' && Beg[I] != '1') ParseError("the trace should contain only 0 or 1"); |