Changeset 1555 for zzuf/trunk/doc


Ignore:
Timestamp:
Jan 4, 2007, 9:59:05 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Implemented -R / --refuse.
File:
1 edited

Legend:

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

    r1554 r1555  
    66.br
    77              [\fB\-F\fR \fIchildren\fR] [\fB\-B\fR \fIbytes\fR] [\fB\-T\fR \fIseconds\fR]
     8.br
     9              [\fB\-P\fR \fIlist\fR] [\fB\-R\fR \fIlist\fR]
    810.br
    911              [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] \fICOMMAND\fR [\fIARGS\fR]...
     
    9698You can use '\fB-\fR' to specify ranges. For instance, to protect all bytes
    9799from '\fB\\x01\fR' to ' ', use \fB\-P \(dq\\x01- \(dq\fR.
     100
     101See also the \fB\-R\fR flag.
    98102.TP
    99103\fB\-q\fR, \fB\-\-quiet\fR
     
    108112the input files undiscernible from random data. The default fuzzing ratio
    109113is 0.004 (fuzz 0.4% of the files' bits).
     114.TP
     115\fB\-R\fR, \fB\-\-refuse\fR=\fIlist\fR
     116Refuse a list of characters by not fuzzing bytes that would otherwise be
     117changed to a character that is in \fIlist\fR. If the original byte is already
     118in \fIlist\fR, it is left unchanged.
     119
     120See the \fB\-P\fR option for a description of \fIlist\fR.
    110121.TP
    111122\fB\-s\fR, \fB\-\-seed\fR=\fIseed\fR
     
    161172.RE
    162173.PP
     174Fuzz the input of the \fBcat\fR program but do not fuzz the newline character
     175and prevent non-ASCII characters from appearing in the output:
     176.PP
     177.RS
     178.nf
     179\fB# zzuf -P \(dq\\n\(dq -R \(dq\\0-\\x1f\\x7f-\\xff\(dq cat /etc/motd\fR
     180.fi
     181.RE
     182.PP
    163183Fuzz the input of the \fBconvert\fR program, using file \fBfoo.jpeg\fR as the
    164184original input and excluding \fB.xml\fR files from fuzzing (because
Note: See TracChangeset for help on using the changeset viewer.