diff options
author | Kostya Serebryany <kcc@google.com> | 2016-09-23 23:51:58 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-09-23 23:51:58 +0000 |
commit | 0800b81a21c5e3967294851db9278fbd5a9dd340 (patch) | |
tree | 7ec4ed29d3dbb16e97ad4c24764814da5b9aa6e9 /llvm/lib/Fuzzer/FuzzerInternal.h | |
parent | 5ab97ec2f6a67b42e7ab7c9f1164edbbb4831404 (diff) | |
download | bcm5719-llvm-0800b81a21c5e3967294851db9278fbd5a9dd340.tar.gz bcm5719-llvm-0800b81a21c5e3967294851db9278fbd5a9dd340.zip |
[libFuzzer] simplify HandleTrace again, start re-running interesting units and collecting their features.
llvm-svn: 282316
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerInternal.h')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerInternal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerInternal.h b/llvm/lib/Fuzzer/FuzzerInternal.h index 23cdc6a84cc..1188b052a1b 100644 --- a/llvm/lib/Fuzzer/FuzzerInternal.h +++ b/llvm/lib/Fuzzer/FuzzerInternal.h @@ -115,6 +115,7 @@ private: void ShuffleCorpus(UnitVector *V); void TryDetectingAMemoryLeak(const uint8_t *Data, size_t Size, bool DuringInitialCorpusExecution); + void AddToCorpusAndMaybeRerun(const Unit &U); bool UpdateMaxCoverage(); |