Команда: fuzz
sfk fuzz infile outfileBaseName [loops command]
change file contents at random, by intention, to test programs
for errors in its input file processing. a maximum of 10 percent
of the data is modified.
outfileBaseName is the output filename WITHOUT extension.
the output filename gets the same extension as the input,
plus an optional prefix if loops are used.
optional parameters:
loops run the fuzzing loops times, each time executing
a user defined command. the command string MUST
contain the phrase "$outfile" which is replaced
by the current fuzzed output file.
the amount of modified data is near-zero in the first loop,
and then incremented per further loop, up to max. 10 percent.
options
-verbose tell in detail which byte (offsets) are modified.
examples
sfk fuzz in.dat tmp\test 10 "myprog.exe $outfile"
run 10 fuzzing tests, all output to console.
sfk fuzz in.dat tmp\test 10 "myprog.exe $outfile >$outfile-report.txt 2>&1"
run 10 fuzzing tests, output to report files in tmp.