diff options
author | Kostya Serebryany <kcc@google.com> | 2016-09-21 22:42:17 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-09-21 22:42:17 +0000 |
commit | 29bb6640759f55a7092963dca3ef0287a9f5d140 (patch) | |
tree | 6ed23cf0c51af0d35971870baf7f6b28980e8247 /llvm/lib/Fuzzer/FuzzerDefs.h | |
parent | 0509203952fa0e6c1073dab2d9cce1e3beabab9f (diff) | |
download | bcm5719-llvm-29bb6640759f55a7092963dca3ef0287a9f5d140.tar.gz bcm5719-llvm-29bb6640759f55a7092963dca3ef0287a9f5d140.zip |
[libFuzzer] add stats to the corpus; more refactoring
llvm-svn: 282121
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerDefs.h')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerDefs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerDefs.h b/llvm/lib/Fuzzer/FuzzerDefs.h index b871771fab2..79a6f0111cb 100644 --- a/llvm/lib/Fuzzer/FuzzerDefs.h +++ b/llvm/lib/Fuzzer/FuzzerDefs.h @@ -43,6 +43,7 @@ class DictionaryEntry; class MutationDispatcher; struct FuzzingOptions; class InputCorpus; +struct InputInfo; struct ExternalFunctions; // Global interface to functions that may or may not be available. @@ -92,7 +93,7 @@ size_t GetPeakRSSMb(); static const int kSHA1NumBytes = 20; // Computes SHA1 hash of 'Len' bytes in 'Data', writes kSHA1NumBytes to 'Out'. void ComputeSHA1(const uint8_t *Data, size_t Len, uint8_t *Out); -std::string Sha1ToString(uint8_t Sha1[kSHA1NumBytes]); +std::string Sha1ToString(const uint8_t Sha1[kSHA1NumBytes]); // Changes U to contain only ASCII (isprint+isspace) characters. // Returns true iff U has been changed. |