MCPcopy Create free account
hub / github.com/HexHive/NASS / FileToString

Function FileToString

fuzz/libfuzzer/FuzzerIO.cpp:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61std::string FileToString(const std::string &Path) {
62 std::ifstream T(Path, std::ios::binary);
63 return std::string((std::istreambuf_iterator<char>(T)),
64 std::istreambuf_iterator<char>());
65}
66
67void CopyFileToErr(const std::string &Path) {
68 Puts(FileToString(Path).c_str());

Callers 6

CopyFileToErrFunction · 0.85
ParseSeedInutsFunction · 0.85
FuzzerDriverFunction · 0.85
ExecuteCommandFunction · 0.85
FuzzWithForkFunction · 0.85
CollectDataFlowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected