diff options
author | Kostya Serebryany <kcc@google.com> | 2016-02-02 03:03:47 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-02-02 03:03:47 +0000 |
commit | bfbe7fc4044dc6d96b52ba41c38437e0905ab1b9 (patch) | |
tree | ec31822f26537c0903669f65aa5e4720ac328141 /llvm/lib/Fuzzer/FuzzerInternal.h | |
parent | 74937fcd0059a159871eaf6f194bde0ef0523475 (diff) | |
download | bcm5719-llvm-bfbe7fc4044dc6d96b52ba41c38437e0905ab1b9.tar.gz bcm5719-llvm-bfbe7fc4044dc6d96b52ba41c38437e0905ab1b9.zip |
[libFuzzer] allow passing 1 or more files as individual inputs
llvm-svn: 259459
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 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<Unit> *V, |