Searched refs:Cmd (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp66 Command Cmd; member in struct:fuzzer::FuzzJob
118 Command Cmd(Args);
119 Cmd.removeFlag("fork");
120 Cmd.removeFlag("runs");
121 Cmd.removeFlag("collect_data_flow");
123 Cmd.removeArgument(C);
124 Cmd.addFlag("reload", "0"); // working in an isolated dir, no reload.
125 Cmd.addFlag("print_final_stats", "1");
126 Cmd.addFlag("print_funcs", "0"); // no need to spend time symbolizing.
127 Cmd
[all...]
H A DFuzzerUtilLinux.cpp23 int ExecuteCommand(const Command &Cmd) { argument
24 std::string CmdLine = Cmd.toString();
H A DFuzzerDataFlowTrace.cpp268 Command Cmd;
269 Cmd.addArgument(DFTBinary);
270 Cmd.addArgument(F.File);
271 Cmd.addArgument(OutPath);
272 Printf("CMD: %s\n", Cmd.toString().c_str());
273 ExecuteCommand(Cmd);
278 Command Cmd;
279 Cmd.addArgument(DFTBinary);
280 Cmd.setOutputFile(FunctionsTxtPath);
281 ExecuteCommand(Cmd);
[all...]
H A DFuzzerDriver.cpp232 Command Cmd(BaseCmd);
233 Cmd.setOutputFile(Log);
234 Cmd.combineOutAndErr();
236 std::string CommandLine = Cmd.toString();
239 int ExitCode = ExecuteCommand(Cmd);
251 std::string Cmd; local
255 Cmd += S + " ";
257 return Cmd;
264 Command Cmd(Args);
265 Cmd
[all...]
H A DFuzzerUtilWindows.cpp159 int ExecuteCommand(const Command &Cmd) { argument
160 std::string CmdLine = Cmd.toString();
164 bool ExecuteCommand(const Command &Cmd, std::string *CmdOutput) { argument
165 FILE *Pipe = _popen(Cmd.toString().c_str(), "r");
H A DFuzzerUtilFuchsia.cpp440 int ExecuteCommand(const Command &Cmd) { argument
444 auto Args = Cmd.getArguments();
461 if (Cmd.hasOutputFile()) {
462 std::string Path = Cmd.getOutputFile();
469 if (!IsAbsolutePath && Cmd.hasFlag("artifact_prefix"))
470 Path = Cmd.getFlagValue("artifact_prefix") + "/" + Path;
487 if (Cmd.isOutAndErrCombined()) {
538 Command Cmd(BaseCmd);
539 Cmd.setOutputFile(LogFilePath);
540 int Ret = ExecuteCommand(Cmd);
[all...]
H A DFuzzerUtil.h59 int ExecuteCommand(const Command &Cmd);
60 bool ExecuteCommand(const Command &Cmd, std::string *CmdOutput);
H A DFuzzerUtilDarwin.cpp41 int ExecuteCommand(const Command &Cmd) { argument
42 std::string CmdLine = Cmd.toString();
H A DFuzzerMerge.cpp369 Command Cmd(BaseCmd);
370 Cmd.addFlag("merge_control_file", CFPath);
371 Cmd.addFlag("merge_inner", "1");
373 Cmd.setOutputFile(getDevNull());
374 Cmd.combineOutAndErr();
376 auto ExitCode = ExecuteCommand(Cmd);
H A DFuzzerUtilPosix.cpp90 bool ExecuteCommand(const Command &Cmd, std::string *CmdOutput) { argument
91 FILE *Pipe = popen(Cmd.toString().c_str(), "r");
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
H A DGuessTargetAndModeCompilationDatabase.cpp40 for (auto &Cmd : Cmds) {
41 if (Cmd.CommandLine.empty())
43 addTargetAndModeForProgramName(Cmd.CommandLine, Cmd.CommandLine.front());
H A DExpandResponseFilesCompilationDatabase.cpp51 for (auto &Cmd : Cmds) {
54 Argv.reserve(Cmd.CommandLine.size());
55 for (auto &Arg : Cmd.CommandLine) {
64 llvm::StringRef(Cmd.Directory));
67 Cmd.CommandLine = std::move(ExpandedArgv);
H A DInterpolatingCompilationDatabase.cpp128 CompileCommand Cmd; member in struct:clang::tooling::__anon2394::TransferableCommand
137 : Cmd(std::move(C)), Type(guessType(Cmd.Filename)),
138 ClangCLMode(checkIsCLMode(Cmd.CommandLine)) {
139 std::vector<std::string> OldArgs = std::move(Cmd.CommandLine);
140 Cmd.CommandLine.clear();
157 Cmd.CommandLine.emplace_back(OldArgs.front());
193 Cmd.CommandLine.insert(Cmd.CommandLine.end(),
208 CompileCommand Result = Cmd;
[all...]
H A DCompilationDatabase.cpp307 for (const auto &Cmd : Jobs) {
311 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass ||
312 Cmd.getSource().getKind() == driver::Action::BackendJobClass ||
313 Cmd.getSource().getKind() == driver::Action::CompileJobClass) {
314 CompileAnalyzer.run(&Cmd.getSource());
H A DJSONCompilationDatabase.cpp429 auto Cmd = CompileCommandRef(Directory, File, *Command, Output); local
430 IndexByFile[NativeFilePath].push_back(Cmd);
431 AllCommands.push_back(Cmd);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp86 const driver::Command &Cmd = cast<driver::Command>(*Jobs.begin()); local
87 if (StringRef(Cmd.getCreator().getName()) != "clang") {
92 const ArgStringList &CCArgs = Cmd.getArguments();
/freebsd-13-stable/sys/contrib/dev/acpica/os_specific/service_layers/
H A Dosgendbg.c192 char *Cmd = Ptr; local
217 AcpiUtSafeStrncpy (AcpiGbl_DbLineBuf, Cmd, ACPI_DB_LINE_BUFFER_SIZE);
219 Cmd = Ptr;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp188 static bool parseCommand(bool IsAddr2Line, StringRef InputString, Command &Cmd, argument
193 Cmd = Command::Code;
195 Cmd = Command::Data;
197 Cmd = Command::Frame;
200 Cmd = Command::Code;
235 Command Cmd; local
238 if (!parseCommand(IsAddr2Line, StringRef(InputString), Cmd, ModuleName,
251 if (Cmd == Command::Data) {
255 } else if (Cmd == Command::Frame) {
/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_oncore.c3014 u_char Cmd[20]; local
3055 memcpy(Cmd, oncore_cmd_Az, (size_t) sizeof(oncore_cmd_Az));
3056 w32_buf(&Cmd[-2+4], (int)instance->delay);
3057 oncore_sendmsg(instance, Cmd, sizeof(oncore_cmd_Az)); /* 6,8,12 */
3060 memcpy(Cmd, oncore_cmd_Ay, (size_t) sizeof(oncore_cmd_Ay)); /* some have it, some don't */
3061 w32_buf(&Cmd[-2+4], instance->offset); /* will check for hw response */
3062 oncore_sendmsg(instance, Cmd, sizeof(oncore_cmd_Ay));
3067 memcpy(Cmd, oncore_cmd_Ag, (size_t) sizeof(oncore_cmd_Ag));
3068 Cmd[-2+4] = instance->Ag;
3069 oncore_sendmsg(instance, Cmd, sizeo
3526 u_char *cp, Cmd[20]; local
3787 u_char Cmd[20]; local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp73 T Cmd; local
74 memcpy(&Cmd, P, sizeof(T));
76 MachO::swapStruct(Cmd);
77 return Cmd;
86 T Cmd;
87 memcpy(&Cmd, P, sizeof(T));
89 MachO::swapStruct(Cmd);
90 return Cmd;
4450 MachO::symtab_command Cmd;
4451 Cmd
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in89 Finalize the results of this Cmd.
155 class Cmd(object):
219 If a user has been specified to run this Cmd and we're not already
367 class Test(Cmd):
429 Create Cmd instances for the pre/post/failsafe scripts. If the pre
434 pretest = Cmd(self.pre, identifier=self.identifier, outputdir=odir,
436 test = Cmd(self.pathname, identifier=self.identifier,
440 failsafe = Cmd(self.failsafe, identifier=self.identifier,
444 posttest = Cmd(self.post, identifier=self.identifier, outputdir=odir,
547 Create Cmd instance
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/tools/driver/
H A Dcc1gen_reproducer_main.cpp128 if (const Command *Cmd = dyn_cast<Command>(&J)) {
131 *C, *Cmd, generateReproducerMetaInfo(Info), &Report);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp747 StringRef Cmd; local
750 Cmd = "LC_VERSION_MIN_MACOSX";
753 Cmd = "LC_VERSION_MIN_IPHONEOS";
756 Cmd = "LC_VERSION_MIN_TVOS";
759 Cmd = "LC_VERSION_MIN_WATCHOS";
762 Cmd = "LC_BUILD_VERSION";
772 W.printString("Cmd", Cmd);
785 W.printString("Cmd", Cmd);
[all...]
/freebsd-13-stable/sys/dev/hptmv/
H A DmvStorageDev.h215 MV_BOOLEAN HPTLIBAPI mvReadWrite(MV_SATA_CHANNEL *pSataChannel, LBA_T Lba, UCHAR Cmd, void *tmpBuffer);
H A Datapi.h381 #define mIssueCommand(IOPort,Cmd) OutPort(&IOPort->Command, (UCHAR)(Cmd))

Completed in 274 milliseconds

12