Changeset 1641 for zzuf/trunk/doc/zzuf.1
- Timestamp:
- Jan 10, 2007, 6:17:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/doc/zzuf.1
r1640 r1641 3 3 zzuf \- multiple purpose fuzzer 4 4 .SH SYNOPSIS 5 \fBzzuf\fR [\fB\-cdiMnqS\fR] [\fB\-r\fR \fIratio\fR] [\fB\-s\fR \fIseed\fR |\fB\-s\fR \fIstart:stop\fR]5 \fBzzuf\fR [\fB\-cdiMnqS\fR] [\fB\-r\fR \fIratio\fR] [\fB\-s\fR \fIseed\fR|\fB\-s\fR \fIstart:stop\fR] 6 6 .br 7 7 [\fB\-F\fR \fIforks\fR] [\fB\-C\fR \fIcrashes\fR] [\fB\-B\fR \fIbytes\fR] [\fB\-T\fR \fIseconds\fR] 8 8 .br 9 [\fB\- P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR]9 [\fB\-M\fR \fImegabytes\fR] [\fB\-P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR] 10 10 .br 11 11 [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] [\fIPROGRAM\fR [\fIARGS\fR]...] … … 99 99 Instead of displaying the program's standard output, just print the MD5 digest 100 100 of that output. The standard error channel is left untouched. 101 .TP 102 \fB\-M\fR, \fB\-\-max-memory\fR=\fImegabytes\fR 103 Specify the maximum amount of memory, in megabytes, that children are allowed 104 to allocate. This is useful to detect infinite loops that eat up a lot of 105 memory. The value should set reasonably high so as not to interfer with normal 106 program operation. 107 108 \fBZzuf\fR uses the \fBsetrlimit\fR() call to set memory usage limitations and 109 relies on the operating system's ability to enforce such limitations. 101 110 .TP 102 111 \fB\-n\fR, \fB\-\-network\fR … … 228 237 .PP 229 238 \fB zzuf \-c \-s 87423 \-r 0.01 vlc movie.avi\fR 230 \fB zzuf \-c \-s 87423 \-r 0.01 cp movie.avifuzzy\-movie.avi\fR239 \fB zzuf \-c \-s 87423 \-r 0.01 <movie.avi >fuzzy\-movie.avi\fR 231 240 \fB vlc fuzzy\-movie.avi\fR 232 241 .PP … … 241 250 .SH RESTRICTIONS 242 251 .PP 243 Due to \fBzzuf\fR using shared object preloading (\fBLD_PRELOAD\fR on most244 Unix systems, \fBDYLD_INSERT_LIBRARIES\fR on Mac OS X) to run its child252 Due to \fBzzuf\fR using shared object preloading (\fBLD_PRELOAD\fR, 253 \fB_RLD_LIST\fB, \fBDYLD_INSERT_LIBRARIES\fR, etc.) to run its child 245 254 processes, it will fail in the presence of any mechanism that disables 246 255 preloading. For instance setuid root binaries will not be fuzzed when run … … 267 276 descriptor operations is undefined. 268 277 .SH NOTES 269 In order to intercept file and network operations and signal handlers,270 \fBzzuf\fR diverts and reimplements the following functions, which can 271 be private libc symbols, too:278 In order to intercept file and network operations, signal handlers and memory 279 allocations, \fBzzuf\fR diverts and reimplements the following functions, 280 which can be private libc symbols, too: 272 281 .TP 273 282 Unix file descriptor handling: 274 283 \fBopen\fR(), \fBlseek\fR(), \fBread\fR(), \fBaccept\fR(), \fBsocket\fR(), 275 \fB mmap\fR(), \fBmunmap\fR(), \fBclose\fR()284 \fBclose\fR() 276 285 .TP 277 286 Standard IO streams: … … 279 288 \fBfread\fR(), \fBgetc\fR(), \fBfgetc\fR(), \fBfgets\fR(), \fBungetc\fR(), 280 289 \fBfclose\fR() 290 .TP 291 Memory management: 292 \fBmmap\fR(), \fBmunmap\fR(), \fBmalloc\fR(), \fBcalloc\fR(), \fBvalloc\fR(), 293 \fBfree\fR(), \fBmemalign\fR(), \fBposix_memalign\fR(), \fBbrk\fR(), 294 \fBsbrk\fR() 281 295 .TP 282 296 Linux-specific:
Note: See TracChangeset
for help on using the changeset viewer.