Changeset 2328


Ignore:
Timestamp:
May 17, 2008, 3:40:45 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Document the new command line parsing behaviour.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/doc/zzuf.1

    r2322 r2328  
    1111       [\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]
    1212.br
    13        [\fIPROGRAM\fR [\fB\-\-\fR] [\fIARGS\fR]...]
     13       [\fIPROGRAM\fR [\fIARGS\fR]...]
    1414.br
    1515\fBzzuf \-h\fR | \fB\-\-help\fR
     
    2929\fB    zzuf cat /dev/zero\fR
    3030.PP
    31 If you want to specify flags for your application, put a \(oq\fB\-\-\fR\(cq
    32 marker before them on the command line (otherwise \fBzzuf\fR will try to
    33 interpret them as arguments for itself), eg:
    34 .PP
    35 \fB    zzuf \-B 1000 cat \-\- \-v /dev/zero\fR
     31Flags found after the application name are considered arguments for the
     32application, not for \fBzzuf\fR. For instance, \fB\-v\fR below is an
     33argument for \fBcat\fR:
     34.PP
     35\fB    zzuf \-B 1000 cat \-v /dev/zero\fR
    3636.PP
    3737When no program is specified, \fBzzuf\fR simply fuzzes the standard input, as
     
    118118.TP
    119119\fB\-F\fR, \fB\-\-max\-forks\fR=\fIforks\fR
    120 Specify the number of simultaneous children that can be run.
     120Specify the number of simultaneous children that can be run. By default,
     121\fBzzuf\fR only launches one process at a time.
    121122
    122123This option is only relevant if the \fB\-s\fR flag is used with a range
     
    138139will really be fuzzed only if N is in \fIlist\fR.
    139140
    140 Values start at one and ranges are inclusive. Use dashes between values and
     141Values start at 1 and ranges are inclusive. Use dashes between values and
    141142commas between ranges. If the right-hand part of a range is ommited, it means
    142143all subsequent file descriptors. For instance, to restrict fuzzing to the
     
    328329want \fBzzuf\fR to fuzz them):
    329330.PP
    330 \fB    zzuf \-E \(aq\\.xml$\(aq convert \-\- foo.jpeg \-format tga /dev/null\fR
     331\fB    zzuf \-E \(aq\\.xml$\(aq convert foo.jpeg \-format tga /dev/null\fR
    331332.PP
    332333Fuzz the input of VLC, using file \fBmovie.avi\fR as the original input
     
    353354\fB    zzuf \-c \-r0.001:0.02 \-s0:10000 \-b4\- \-q \-F5 \-D0.5 \-T60 \-S \\\fR
    354355.br
    355 \fB      mplayer \-\- \-benchmark \-vo null \-fps 1000 movie.avi\fR
     356\fB      mplayer \-benchmark \-vo null \-fps 1000 movie.avi\fR
    356357.PP
    357358Create an HTML-like file that loads 200 times the same \fBhello.jpg\fR image
Note: See TracChangeset for help on using the changeset viewer.