diff options
author | Kostya Serebryany <kcc@google.com> | 2017-07-20 01:35:17 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2017-07-20 01:35:17 +0000 |
commit | e55828c7403d038dedae640bd63f23f1f91ffac1 (patch) | |
tree | 96f22dc969ce124308d58a1b0cc342f67970d736 /llvm/lib/Fuzzer/FuzzerLoop.cpp | |
parent | c20b3383b78473fdfb958ebfe15227bded79ba78 (diff) | |
download | bcm5719-llvm-e55828c7403d038dedae640bd63f23f1f91ffac1.tar.gz bcm5719-llvm-e55828c7403d038dedae640bd63f23f1f91ffac1.zip |
[libFuzzer] prototype implementation of recursion-depth coverage features (commented out; real implementation needs to use inlined instrumentation)
llvm-svn: 308577
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerLoop.cpp')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerLoop.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerLoop.cpp b/llvm/lib/Fuzzer/FuzzerLoop.cpp index 8ac7a847aef..37adb1e0a5a 100644 --- a/llvm/lib/Fuzzer/FuzzerLoop.cpp +++ b/llvm/lib/Fuzzer/FuzzerLoop.cpp @@ -456,6 +456,7 @@ static bool LooseMemeq(const uint8_t *A, const uint8_t *B, size_t Size) { } void Fuzzer::ExecuteCallback(const uint8_t *Data, size_t Size) { + TPC.RecordInitialStack(); TotalNumberOfRuns++; assert(InFuzzingThread()); if (SMR.IsClient()) |