HomeSort by: relevance | last modified time | path
    Searched refs:c_str (Results 1 - 23 of 23) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerUtilLinux.cpp 22 return system(CmdLine.c_str());
FuzzerDataFlowTrace.cpp 26 Printf("INFO: DataFlowTrace: reading from '%s'\n", DirPath.c_str());
50 Name.c_str(), L.c_str());
53 // Printf("=== %s\n", Name.c_str());
61 size_t N = std::atol(L.c_str() + 1);
66 const char *Beg = L.c_str() + SpacePos + 1;
67 const char *End = L.c_str() + L.size();
79 Printf("%s => |%s|\n", Name.c_str(), L.c_str() + SpacePos + 1);
FuzzerShmemPosix.cpp 52 int fd = open(Path(Name).c_str(), O_CREAT | O_RDWR, 0777);
58 sem_unlink(SemName(Name, i).c_str());
59 Semaphore[i] = sem_open(SemName(Name, i).c_str(), O_CREAT, 0644, 0);
68 int fd = open(Path(Name).c_str(), O_RDWR);
77 Semaphore[i] = sem_open(SemName(Name, i).c_str(), 0);
86 return 0 == unlink(Path(Name).c_str());
FuzzerIOPosix.cpp 30 if (stat(Path.c_str(), &St))
37 if (stat(Path.c_str(), &St))
44 if (stat(Path.c_str(), &St))
62 DIR *D = opendir(Dir.c_str());
64 Printf("%s: %s; exiting\n", strerror(errno), Dir.c_str());
99 unlink(Path.c_str());
116 memcpy(Tmp, FileName.c_str(), FileName.size() + 1);
FuzzerIOWindows.cpp 36 CreateFileA(Path.c_str(), 0, FILE_SHARE_READ, NULL, OPEN_EXISTING,
40 Printf("CreateFileA() failed for \"%s\" (Error code: %lu).\n", Path.c_str(),
48 Printf("GetFileType() failed for \"%s\" (Error code: %lu).\n", Path.c_str(),
64 DWORD Att = GetFileAttributesA(Path.c_str());
68 Path.c_str(), GetLastError());
84 if (!GetFileAttributesExA(Path.c_str(), GetFileExInfoStandard, &attr)) {
86 Path.c_str(), GetLastError());
109 HANDLE FindHandle(FindFirstFileA(Path.c_str(), &FindInfo));
114 Printf("No such file or directory: %s; exiting\n", Dir.c_str());
161 _unlink(Path.c_str());
    [all...]
FuzzerIO.cpp 28 if (stat(Path.c_str(), &St))
36 Printf("No such directory: %s; exiting\n", Path.c_str());
60 Printf("%s", FileToString(Path).c_str());
65 FILE *Out = fopen(Path.c_str(), "w");
FuzzerDriver.cpp 83 auto Prog = ProgName->c_str();
191 if (ParseOneFlag(Args[A].c_str())) {
221 Printf("%s\n", CommandLine.c_str());
237 if (FlagValue(S.c_str(), X1) || FlagValue(S.c_str(), X2))
391 CurrentFilePath.c_str(), U.size());
397 Printf("CRASH_MIN: executing: %s\n", CommandLine.c_str());
400 Printf("ERROR: the input %s did not crash\n", CurrentFilePath.c_str());
405 CurrentFilePath.c_str(), U.size());
408 Printf("CRASH_MIN: DedupToken1: %s\n", DedupToken1.c_str());
    [all...]
FuzzerUtilFuchsia.cpp 375 Argv[i] = Args[i].c_str();
389 FdOut = open(Path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0);
391 Printf("libFuzzer: failed to open %s: %s\n", Path.c_str(),
FuzzerMerge.cpp 162 // Printf("%s -> sz %zd ft %zd\n", Files[i].Name.c_str(),
210 Printf("MERGE-INNER: using the control file '%s'\n", CFPath.c_str());
217 M.LastFailure.c_str());
273 CFPath.c_str());
307 M.LastFailure.c_str());
FuzzerUtilDarwin.cpp 102 const char *CommandCStr = CmdLine.c_str();
FuzzerLoop.cpp 186 Printf("; base unit: %s\n", Sha1ToString(BaseSha1).c_str());
399 Options.ExitOnSrcPos.c_str());
408 Options.ExitOnItem.c_str());
418 ReadDirToVectorOfUnits(Options.OutputCorpus.c_str(), &AdditionalCorpus,
592 Printf("Written %zd bytes to %s\n", U.size(), Path.c_str());
603 Options.ArtifactPrefix.c_str(), Path.c_str());
605 Printf("Base64: %s\n", Base64(U).c_str());
747 Dir.c_str());
FuzzerUtil.cpp 148 S.c_str());
198 Printf("%s", DescribePC(SymbolizedFMT, PC).c_str());
FuzzerUtilWindows.cpp 157 return system(CmdLine.c_str());
FuzzerCorpus.h 146 Printf("%s sz=%zd ", Sha1ToString(II->Sha1).c_str(), II->U.size());
186 Sha1ToString(II.Sha1).c_str(), II.U.size(),
FuzzerTracePC.cpp 315 Printf("INFO: Focus function is set to '%s'\n", Name.c_str());
363 Printf(" %s %s:%zd\n", FunctionStr.c_str(), FileStr.c_str(), Line);
366 DescribePC("%s:%l", GetNextInstructionPc(PC)).c_str());
393 Printf("%s\n", FunctionStr.c_str());
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_exceptions_test.cc 9 fprintf(stderr, "%s\n", msg.c_str());
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_nolibc_test.cc 27 int status = system(NolibcTestPath.c_str());
sanitizer_printf_test.cc 35 EXPECT_STREQ(expectedString.c_str(), buf);
sanitizer_allocator_test.cc 1237 EXPECT_STREQ(expected.c_str(), range_recorder.reported_pages.c_str());
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/
sanitizer_symbolize.cc 46 Result.c_str()) < MaxLength;
60 Result.c_str()) < MaxLength;
70 Result.c_str()) < MaxLength
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_errors.cc 52 AsanThreadIdAndName(tid).c_str());
68 AsanThreadIdAndName(tid).c_str());
109 addr_description.Address(), AsanThreadIdAndName(tid).c_str());
174 count, size, AsanThreadIdAndName(tid).c_str());
188 size, GetPageSizeCached(), AsanThreadIdAndName(tid).c_str());
201 alignment, AsanThreadIdAndName(tid).c_str());
215 "(thread %s)\n", alignment, size, AsanThreadIdAndName(tid).c_str());
220 AsanThreadIdAndName(tid).c_str());
235 alignment, sizeof(void*), AsanThreadIdAndName(tid).c_str()); // NOLINT
249 user_size, total_size, max_size, AsanThreadIdAndName(tid).c_str());
    [all...]
asan_descriptions.cc 53 str.append("Thread %s", AsanThreadIdAndName(context).c_str());
60 AsanThreadIdAndName(context->parent_tid).c_str());
362 AsanThreadIdAndName(tid).c_str());
425 AsanThreadIdAndName(free_thread).c_str(), d.Default());
429 AsanThreadIdAndName(alloc_thread).c_str(), d.Default());
432 AsanThreadIdAndName(alloc_thread).c_str(), d.Default());
asan_descriptions.h 36 const char *c_str() const { return &name[0]; } function in class:__asan::AsanThreadIdAndName

Completed in 25 milliseconds