Changeset 2345
- Timestamp:
- 05/19/08 13:25:05 (5 years ago)
- Location:
- zzuf/trunk
- Files:
-
- 3 edited
-
doc/zzuf.1 (modified) (2 diffs)
-
src/libzzuf.c (modified) (1 diff)
-
src/zzuf.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/doc/zzuf.1
r2344 r2345 7 7 [\fB\-f\fR \fIfuzzing\fR] [\fB\-D\fR \fIdelay\fR] [\fB\-j\fR \fIjobs\fR] [\fB\-C\fR \fIcrashes\fR] [\fB\-B\fR \fIbytes\fR] 8 8 .br 9 [\fB\-t\fR \fIseconds\fR] [\fB\-T\fR \fIseconds\fR] [\fB\-M\fR \fIme gabytes\fR] [\fB\-b\fR \fIranges\fR] [\fB\-p\fR \fIports\fR]9 [\fB\-t\fR \fIseconds\fR] [\fB\-T\fR \fIseconds\fR] [\fB\-M\fR \fImebibytes\fR] [\fB\-b\fR \fIranges\fR] [\fB\-p\fR \fIports\fR] 10 10 .br 11 11 [\fB\-P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR] [\fB\-l\fR \fIlist\fR] [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] … … 157 157 untouched. 158 158 .TP 159 \fB\-M\fR, \fB\-\-max\-memory\fR=\fIme gabytes\fR160 Specify the maximum amount of memory, in me gabytes, that children are allowed161 t o allocate. This is useful to detect infinite loops that eat up a lot of162 memory. The value should set reasonably high so as not to interfer with normal 163 program operation.159 \fB\-M\fR, \fB\-\-max\-memory\fR=\fImebibytes\fR 160 Specify the maximum amount of memory, in mebibytes (1 MiB = 1,048,576 bytes), 161 that children are allowed to allocate. This is useful to detect infinite loops 162 that eat up a lot of memory. The value should be set reasonably high so as not 163 to interfer with normal program operation. 164 164 165 165 \fBzzuf\fR uses the \fBsetrlimit\fR() call to set memory usage limitations and -
zzuf/trunk/src/libzzuf.c
r2336 r2345 77 77 /** 78 78 * If set to a positive value, this value will indicate the maximum number 79 * of megabytes that the called application will be allowed to allocate. Its 80 * value is set by the ZZUF_MEMORY environment variable. 79 * of mebibytes (1 MiB = 1,048,576 bytes) that the called application will be 80 * allowed to allocate. Its value is set by the ZZUF_MEMORY environment 81 * variable. 81 82 */ 82 83 int _zz_memory = 0; -
zzuf/trunk/src/zzuf.c
r2344 r2345 1170 1170 #endif 1171 1171 #if defined HAVE_SETRLIMIT && defined ZZUF_RLIMIT_MEM 1172 printf( "[-M me gabytes] ");1172 printf( "[-M mebibytes] "); 1173 1173 #endif 1174 1174 printf( "[-b ranges] [-p ports]\n");
Note: See TracChangeset
for help on using the changeset viewer.
