• Home
  • Raw
  • Download

Lines Matching refs:optarg

162 rlim_t cmdlineParseRLimit(int res, const char* optarg, unsigned long mul) {  in cmdlineParseRLimit()  argument
167 if (strcasecmp(optarg, "max") == 0) { in cmdlineParseRLimit()
170 if (strcasecmp(optarg, "def") == 0) { in cmdlineParseRLimit()
173 if (util_isANumber(optarg) == false) { in cmdlineParseRLimit()
174 LOG_F("RLIMIT %d needs a numeric or 'max'/'def' value ('%s' provided)", res, optarg); in cmdlineParseRLimit()
176 rlim_t val = strtoul(optarg, NULL, 0) * mul; in cmdlineParseRLimit()
178 PLOG_F("strtoul('%s', 0)", optarg); in cmdlineParseRLimit()
485 hfuzz->io.inputDir = optarg; in cmdlineParse()
487 hfuzz->io.covDirAll = optarg; in cmdlineParse()
509 logfile = optarg; in cmdlineParse()
518 hfuzz->io.fileExtn = optarg; in cmdlineParse()
521 hfuzz->io.workDir = optarg; in cmdlineParse()
524 hfuzz->io.crashDir = optarg; in cmdlineParse()
527 hfuzz->io.covDirAll = optarg; in cmdlineParse()
530 hfuzz->io.covDirNew = optarg; in cmdlineParse()
533 hfuzz->mutate.mutationsPerRun = strtoul(optarg, NULL, 10); in cmdlineParse()
536 hfuzz->exe.externalCommand = optarg; in cmdlineParse()
555 hfuzz->mutate.maxFileSz = strtoul(optarg, NULL, 0); in cmdlineParse()
558 hfuzz->timing.tmOut = atol(optarg); in cmdlineParse()
561 hfuzz->cfg.reportFile = optarg; in cmdlineParse()
564 hfuzz->threads.threadsMax = atol(optarg); in cmdlineParse()
567 time_t p = atol(optarg); in cmdlineParse()
573 hfuzz->mutate.mutationsMax = atol(optarg); in cmdlineParse()
576 hfuzz->exe.asLimit = strtoull(optarg, NULL, 0); in cmdlineParse()
579 hfuzz->exe.rssLimit = strtoull(optarg, NULL, 0); in cmdlineParse()
582 hfuzz->exe.dataLimit = strtoull(optarg, NULL, 0); in cmdlineParse()
585 hfuzz->exe.coreLimit = strtoull(optarg, NULL, 0); in cmdlineParse()
588 hfuzz->exe.postExternalCommand = optarg; in cmdlineParse()
591 if ((strcasecmp(optarg, "0") == 0) || (strcasecmp(optarg, "false") == 0)) { in cmdlineParse()
613 if (!cmdlineAddEnv(hfuzz, optarg)) { in cmdlineParse()
618 hfuzz->mutate.dictionaryFile = optarg; in cmdlineParse()
621 hfuzz->feedback.blacklistFile = optarg; in cmdlineParse()
625 hfuzz->linux.ignoreAddr = (void*)strtoul(optarg, NULL, 0); in cmdlineParse()
631 hfuzz->linux.dynamicCutOffAddr = strtoull(optarg, NULL, 0); in cmdlineParse()
634 hfuzz->linux.symsBlFile = optarg; in cmdlineParse()
637 hfuzz->linux.symsWlFile = optarg; in cmdlineParse()
666 hfuzz->netbsd.ignoreAddr = (void*)strtoul(optarg, NULL, 0); in cmdlineParse()
669 hfuzz->netbsd.symsBlFile = optarg; in cmdlineParse()
672 hfuzz->netbsd.symsWlFile = optarg; in cmdlineParse()