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/FuzzerDriver.cpp | |
parent | 7f47a0bea177db24ecfc75b9daf3874e39a869df (diff) | |
download | compiler-rt-9c4a366945d9fe7ed89e679c045f01bb311158ce.tar.gz |
[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/FuzzerDriver.cpp')
-rw-r--r-- | lib/fuzzer/FuzzerDriver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fuzzer/FuzzerDriver.cpp b/lib/fuzzer/FuzzerDriver.cpp index dfb3d492c..d7b957349 100644 --- a/lib/fuzzer/FuzzerDriver.cpp +++ b/lib/fuzzer/FuzzerDriver.cpp @@ -623,6 +623,8 @@ int FuzzerDriver(int *argc, char ***argv, UserCallback Callback) { Options.ExitOnItem = Flags.exit_on_item; if (Flags.focus_function) Options.FocusFunction = Flags.focus_function; + if (Flags.data_flow_trace) + Options.DataFlowTrace = Flags.data_flow_trace; unsigned Seed = Flags.seed; // Initialize Seed. |