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

Function WriteFeatureSetToFile

fuzz/libfuzzer/FuzzerLoop.cpp:474–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474static void WriteFeatureSetToFile(const std::string &FeaturesDir,
475 const std::string &FileName,
476 const std::vector<uint32_t> &FeatureSet) {
477 if (FeaturesDir.empty() || FeatureSet.empty()) return;
478 WriteToFile(reinterpret_cast<const uint8_t *>(FeatureSet.data()),
479 FeatureSet.size() * sizeof(FeatureSet[0]),
480 DirPlusFile(FeaturesDir, FileName));
481}
482
483static void RenameFeatureSetFile(const std::string &FeaturesDir,
484 const std::string &OldFile,

Callers 1

RunOneMethod · 0.85

Calls 5

WriteToFileFunction · 0.85
DirPlusFileFunction · 0.85
emptyMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected