Home
last modified time | relevance | path

Searched refs:CFPath (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerMerge.cpp199 void Fuzzer::CrashResistantMergeInternalStep(const std::string &CFPath) { in CrashResistantMergeInternalStep() argument
200 Printf("MERGE-INNER: using the control file '%s'\n", CFPath.c_str()); in CrashResistantMergeInternalStep()
202 std::ifstream IF(CFPath); in CrashResistantMergeInternalStep()
214 std::ofstream OF(CFPath, std::ofstream::out | std::ofstream::app); in CrashResistantMergeInternalStep()
266 static size_t WriteNewControlFile(const std::string &CFPath, in WriteNewControlFile() argument
285 RemoveFile(CFPath); in WriteNewControlFile()
286 std::ofstream ControlFile(CFPath); in WriteNewControlFile()
294 CFPath.c_str()); in WriteNewControlFile()
310 const std::string &CFPath, in CrashResistantMerge() argument
315 if (FileSize(CFPath)) { in CrashResistantMerge()
[all …]
DFuzzerFork.cpp71 std::string CFPath; member
80 RemoveFile(CFPath); in ~FuzzJob()
158 Job->CFPath = DirPlusFile(TempDir, std::to_string(JobId) + ".merge"); in CreateNewJob()
217 &NewFeatures, Cov, &NewCov, Job->CFPath, false); in RunOneMergeJob()
318 auto CFPath = DirPlusFile(Env.TempDir, "merge.txt"); in FuzzWithFork() local
321 &NewFeatures, Env.Cov, &NewCov, CFPath, false); in FuzzWithFork()
324 RemoveFile(CFPath); in FuzzWithFork()
DFuzzerMerge.h82 const std::string &CFPath,
DFuzzerDriver.cpp520 std::string CFPath = CFPathOrNull ? CFPathOrNull : TempPath("Merge", ".txt"); in Merge() local
524 {}, &NewCov, CFPath, true); in Merge()
529 RemoveFile(CFPath); in Merge()