From bfbe7fc4044dc6d96b52ba41c38437e0905ab1b9 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Tue, 2 Feb 2016 03:03:47 +0000 Subject: [libFuzzer] allow passing 1 or more files as individual inputs llvm-svn: 259459 --- llvm/lib/Fuzzer/FuzzerInternal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Fuzzer/FuzzerInternal.h') diff --git a/llvm/lib/Fuzzer/FuzzerInternal.h b/llvm/lib/Fuzzer/FuzzerInternal.h index d506f8fabab..07f45af08ff 100644 --- a/llvm/lib/Fuzzer/FuzzerInternal.h +++ b/llvm/lib/Fuzzer/FuzzerInternal.h @@ -62,6 +62,7 @@ private: typedef FixedWord<27> Word; // 28 bytes. +bool IsFile(const std::string &Path); std::string FileToString(const std::string &Path); Unit FileToVector(const std::string &Path); void ReadDirToVectorOfUnits(const char *Path, std::vector *V, -- cgit v1.2.3