Home
last modified time | relevance | path

Searched refs:WriteToFile (Results 1 – 14 of 14) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_file.cpp27 WriteToFile(kStderrFd, buffer, length); in CatastrophicErrorWrite()
69 WriteToFile(kStderrFd, ErrorMsgPrefix, internal_strlen(ErrorMsgPrefix)); in ReopenIfNecessary()
70 WriteToFile(kStderrFd, full_path, internal_strlen(full_path)); in ReopenIfNecessary()
73 WriteToFile(kStderrFd, errmsg, internal_strlen(errmsg)); in ReopenIfNecessary()
89 WriteToFile(kStderrFd, ErrorMsgPrefix, internal_strlen(ErrorMsgPrefix)); in RecursiveCreateParentDirs()
90 WriteToFile(kStderrFd, path, internal_strlen(path)); in RecursiveCreateParentDirs()
H A Dsanitizer_coverage_libcdep_new.cpp53 WriteToFile(fd, &Magic, sizeof(Magic)); in WriteModuleCoverage()
54 WriteToFile(fd, pcs, len * sizeof(*pcs)); in WriteModuleCoverage()
174 WriteToFile(fd, counters_beg, size); in DumpCoverage()
184 WriteToFile(fd, pcs_beg, size); in DumpCoverage()
H A Dsanitizer_file.h65 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size,
H A Dsanitizer_win.cpp785 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() function
887 if (!WriteToFile(fd, buffer, length)) { in Write()
H A Dsanitizer_posix.cpp192 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() function
H A Dsanitizer_symbolizer_libcdep.cpp558 bool success = WriteToFile(output_fd_, buffer, length, &write_len); in WriteToSymbolizer()
/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerIO.cpp71 void WriteToFile(const Unit &U, const std::string &Path) { in WriteToFile() function
72 WriteToFile(U.data(), U.size(), Path); in WriteToFile()
75 void WriteToFile(const std::string &Data, const std::string &Path) { in WriteToFile() function
76 WriteToFile(reinterpret_cast<const uint8_t *>(Data.c_str()), Data.size(), in WriteToFile()
80 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path) { in WriteToFile() function
H A DFuzzerIO.h27 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path);
29 void WriteToFile(const std::string &Data, const std::string &Path);
30 void WriteToFile(const Unit &U, const std::string &Path);
H A DFuzzerFork.cpp169 WriteToFile(Seeds, Job->SeedListPath); in CreateNewJob()
241 WriteToFile(U, NewPath); in RunOneMergeJob()
372 WriteToFile(Unit({1}), Env.StopFile()); in FuzzWithFork()
H A DFuzzerDriver.cpp389 WriteToFile(U, TmpFilePath); in CleanseCrashInput()
397 WriteToFile(U, OutputFilePath); in CleanseCrashInput()
464 WriteToFile(U, CurrentFilePath); in MinimizeCrashInput()
477 WriteToFile(U, CurrentFilePath); in MinimizeCrashInput()
H A DFuzzerLoop.cpp467 WriteToFile(reinterpret_cast<const uint8_t *>(FeatureSet.data()), in WriteFeatureSetToFile()
636 WriteToFile(U, Path); in WriteToOutputCorpus()
648 WriteToFile(U, Path); in WriteUnitToFileWithPrefix()
/openbsd-src/gnu/llvm/compiler-rt/lib/stats/
H A Dstats.cpp40 WriteToFile(fd, chars, sizeof(uptr)); in WriteLE()
55 WriteToFile(stats_fd, &sizeof_uptr, 1); in OpenStatsFile()
67 WriteToFile(stats_fd, mod->full_name(), in WriteModuleReport()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cpp121 ASSERT_TRUE(WriteToFile(fd, "A", 1)); in TEST()
130 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written)); in TEST()
132 EXPECT_TRUE(WriteToFile(fd, str2, len2, &bytes_written)); in TEST()
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp435 WriteToFile(ctx->memprof_fd, buf.data(), internal_strlen(buf.data())); in MemoryProfiler()