summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerDefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerDefs.h')
-rw-r--r--llvm/lib/Fuzzer/FuzzerDefs.h3
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.
OpenPOWER on IntegriCloud