diff options
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerIO.h')
-rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerIO.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerIO.h b/compiler-rt/lib/fuzzer/FuzzerIO.h index cbfafa5c38b..fe0d7b45175 100644 --- a/compiler-rt/lib/fuzzer/FuzzerIO.h +++ b/compiler-rt/lib/fuzzer/FuzzerIO.h @@ -25,6 +25,8 @@ std::string FileToString(const std::string &Path); void CopyFileToErr(const std::string &Path); void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path); +// Write Data.c_str() to the file without terminating null character. +void WriteToFile(const std::string &Data, const std::string &Path); void WriteToFile(const Unit &U, const std::string &Path); void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, |