//===- FuzzerIO.h - Internal header for IO utils ----------------*- C++ -* ===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // IO interface. //===----------------------------------------------------------------------===//
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( std::tring); void WriteToFile(const Unit &U,
void ReadDirToVectorOfUnitsconstchar java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62 long java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Returns "Dir/FileName" or equivalent for the current OS.
std:stringDirPlusFile(const ::stringDirPath const std::string &FileName);
// Returns the name of the dir, similar to the 'dirname' utility.
std::string DirName(const std::string &FileName);
// Returns path to a TmpDir.
std: TmpDir)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
void Printf(constchar *Fmt, ..std: DirNameconst std:stringFileNamejava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49 voidVPrintfbool Verbose constchar *mt .);
int ListFilesInDirRecursive(constvoidRawPrintconstchar*tr;
Vector<std::string> *V, bool TopDir);
void RmDirRecursive(const std::string &Dir);
// Iterate files and dirs inside Dir, recursively. // Call DirPreCallback/DirPostCallback on dirs before/after // calling FileCallback on files. void IterateDirRecursive(const std::string &Dir,
(const stdstringDir *Epoch
(DirPostCallbackconststd:string &ir
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
struct SizedFile {
std::string IterateDirRecursiveconst std: java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
size_t Size; booloperator<(const SizedFile &B) const back)const:: &Dirjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
};
int GetSizedFilesFromDir(const std::string &Dir, Vector<SizedFile> java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ar(); // Similar to the basename utility: returns the file name w/o the dir prefix.
std:stringBasename std:stringPath
FILE* OpenFile(int Fd, constchar *Mode);
int CloseFile(int Fd);
int DuplicateFile(int Fd);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 void RenameFile(const std::string &OldPath, const std::string &NewPath);
intptr_tFILE (int Fd constchar*odejava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.4Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.