Changeset 1800 for zzuf/trunk
- Timestamp:
- Jul 10, 2007, 4:30:13 PM (16 years ago)
- Location:
- zzuf/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/doc/zzuf.1
r1798 r1800 7 7 [\fB\-f\fR \fIfuzzing\fR] [\fB\-D\fR \fIdelay\fR] [\fB\-F\fR \fIforks\fR] [\fB\-C\fR \fIcrashes\fR] [\fB\-B\fR \fIbytes\fR] 8 8 .br 9 [\fB\- T\fR \fIseconds\fR] [\fB\-M\fR \fImegabytes\fR] [\fB\-P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR]9 [\fB\-t\fR \fIseconds\fR] [\fB\-M\fR \fImegabytes\fR] [\fB\-P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR] 10 10 .br 11 11 [\fB\-p\fR \fIpick\fR] [\fB\-b\fR \fIranges\fR] [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] … … 60 60 Automatically terminate child processes that output more than \fIn\fR bytes 61 61 on the standard output and standard error channels. This is useful to detect 62 infinite loops. See also the \fB\- T\fR flag.62 infinite loops. See also the \fB\-t\fR flag. 63 63 .TP 64 64 \fB\-c\fR, \fB\-\-cmdline\fR … … 256 256 how to set such limits. 257 257 .TP 258 \fB\- T\fR, \fB\-\-max\-time\fR=\fIn\fR258 \fB\-t\fR, \fB\-\-max\-time\fR=\fIn\fR 259 259 Automatically terminate child processes that run for more than \fIn\fR 260 260 seconds. This is useful to detect infinite loops or processes stuck in other -
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.