diff options
author | Kostya Serebryany <kcc@google.com> | 2018-06-06 01:23:29 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-06-06 01:23:29 +0000 |
commit | 9c4a366945d9fe7ed89e679c045f01bb311158ce (patch) | |
tree | ff1f3a69b540445b5cb900312f2144c102d2a8ae /lib/fuzzer/FuzzerLoop.cpp | |
parent | 7f47a0bea177db24ecfc75b9daf3874e39a869df (diff) |
[libFuzzer] initial implementation of -data_flow_trace. It parses the data flow trace and prints the summary, but doesn't use the information in any other way yet
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerLoop.cpp')
-rw-r--r-- | lib/fuzzer/FuzzerLoop.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fuzzer/FuzzerLoop.cpp b/lib/fuzzer/FuzzerLoop.cpp index 9c19ba913..27bd5ee65 100644 --- a/lib/fuzzer/FuzzerLoop.cpp +++ b/lib/fuzzer/FuzzerLoop.cpp @@ -160,6 +160,7 @@ Fuzzer::Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD, CurrentUnitSize = 0; memset(BaseSha1, 0, sizeof(BaseSha1)); TPC.SetFocusFunction(Options.FocusFunction); + DFT.Init(Options.DataFlowTrace, Options.FocusFunction); } Fuzzer::~Fuzzer() {} |