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

Function GetSizedFilesFromDir

fuzz/libfuzzer/FuzzerIO.cpp:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void GetSizedFilesFromDir(const std::string &Dir, std::vector<SizedFile> *V) {
124 std::vector<std::string> Files;
125 ListFilesInDirRecursive(Dir, 0, &Files, /*TopDir*/true);
126 for (auto &File : Files)
127 if (size_t Size = FileSize(File))
128 V->push_back({File, Size});
129}
130
131std::string DirPlusFile(const std::string &DirPath,
132 const std::string &FileName) {

Callers 6

MergeFunction · 0.85
ReadCorporaFunction · 0.85
RunOneMergeJobMethod · 0.85
FuzzWithForkFunction · 0.85
ReadCoverageMethod · 0.85
InitMethod · 0.85

Calls 3

ListFilesInDirRecursiveFunction · 0.70
FileSizeFunction · 0.70
push_backMethod · 0.45

Tested by

no test coverage detected