Lines Matching refs:cmdline
147 args[x] = run->global->exe.cmdline[x]; in arch_launchChild()
148 } else if (!strcmp(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER)) { in arch_launchChild()
150 } else if (strstr(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER)) { in arch_launchChild()
151 const char* off = strstr(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER); in arch_launchChild()
152 snprintf(argData, sizeof(argData), "%.*s%s", (int)(off - run->global->exe.cmdline[x]), in arch_launchChild()
153 run->global->exe.cmdline[x], inputFile); in arch_launchChild()
156 args[x] = run->global->exe.cmdline[x]; in arch_launchChild()
312 if (access(hfuzz->exe.cmdline[0], X_OK) == -1) { in arch_archInit()
313 PLOG_E("File '%s' doesn't seem to be executable", hfuzz->exe.cmdline[0]); in arch_archInit()
317 TEMP_FAILURE_RETRY(open(hfuzz->exe.cmdline[0], O_RDONLY | O_CLOEXEC))) == -1) { in arch_archInit()
318 PLOG_E("Cannot open the executable binary: %s)", hfuzz->exe.cmdline[0]); in arch_archInit()