Changeset 1800 for zzuf/trunk/src/zzuf.c
- Timestamp:
- Jul 10, 2007, 4:30:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/zzuf.c
r1799 r1800 164 164 #endif 165 165 #define OPTSTR OPTSTR_REGEX OPTSTR_RLIMIT_MEM \ 166 "Ab:B:C:dD:f:F:imnp:P:qr:R:s:S T:vxhV"166 "Ab:B:C:dD:f:F:imnp:P:qr:R:s:St:vxhV" 167 167 #define MOREINFO "Try `%s --help' for more information.\n" 168 168 int option_index = 0; … … 198 198 { "seed", 1, NULL, 's' }, 199 199 { "signal", 0, NULL, 'S' }, 200 { "max-time", 1, NULL, ' T' },200 { "max-time", 1, NULL, 't' }, 201 201 { "verbose", 0, NULL, 'v' }, 202 202 { "check-exit", 0, NULL, 'x' }, … … 307 307 setenv("ZZUF_SIGNAL", "1", 1); 308 308 break; 309 case ' T': /* --max-time */309 case 't': /* --max-time */ 310 310 opts->maxtime = (int64_t)(atof(myoptarg) * 1000000.0); 311 311 break; … … 1111 1111 printf(" [-f fuzzing] [-D delay] [-F forks] [-C crashes] [-B bytes]\n"); 1112 1112 #if defined HAVE_SETRLIMIT && defined ZZUF_RLIMIT_MEM 1113 printf(" [- Tseconds] [-M bytes] [-b ranges] [-P protect] [-R refuse]\n");1113 printf(" [-t seconds] [-M bytes] [-b ranges] [-P protect] [-R refuse]\n"); 1114 1114 #else 1115 printf(" [- Tseconds] [-b ranges] [-P protect] [-R refuse]\n");1115 printf(" [-t seconds] [-b ranges] [-P protect] [-R refuse]\n"); 1116 1116 #endif 1117 1117 #if defined HAVE_REGEX_H … … 1158 1158 printf(" --seed <start:stop> specify a seed range\n"); 1159 1159 printf(" -S, --signal prevent children from diverting crashing signals\n"); 1160 printf(" - T, --max-time <n> kill children that run for more than <n> seconds\n");1160 printf(" -t, --max-time <n> kill children that run for more than <n> seconds\n"); 1161 1161 printf(" -v, --verbose print information during the run\n"); 1162 1162 printf(" -x, --check-exit report processes that exit with a non-zero status\n");
Note: See TracChangeset
for help on using the changeset viewer.