Ignore:
Timestamp:
Dec 16, 2006, 11:37:41 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Update README file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/README

    r1489 r1493  
    1717  # zzuf -s 94324 -r 0.01 cat /etc/motd
    1818
    19 Fuzz the input of the "convert" program, using file foo.jpeg as the
    20 original input and restricting fuzzing to filenames matching the regular
    21 expression "foo" (because convert will also open its own configuration
    22 files and we do not want zzuf to fuzz them):
     19Fuzz the input of the "convert" program, using file foo.jpeg as the original
     20input and restricting fuzzing to filenames matching the regular expression
     21"foo[.]jpeg" (because convert will also open its own configuration files and
     22we do not want zzuf to fuzz them):
    2323
    24   # zzuf -i 'foo' convert -- foo.jpeg -format tga /dev/null
     24  # zzuf -i 'foo[.]jpeg' convert -- foo.jpeg -format tga /dev/null
    2525
    2626Fuzz the input of VLC, using file movie.avi as the original input, and
    27 generate fuzzy-movie.avi which is the file that can be fed to VLC to
    28 reproduce the behaviour without using zzuf:
     27generate fuzzy-movie.avi which is a file that can be fed to VLC to reproduce
     28the behaviour without using zzuf:
    2929
    3030  # zzuf -s 87423 -r 0.01 vlc -- movie.avi
     31
    3132  # zzuf -s 87423 -r 0.01 cp movie.avi fuzzy-movie.avi
    3233  # vlc fuzzy-movie.avi
     
    3536
    3637  # for seed in $(seq -w 0 9999); do
    37         zzuf -s ${seed} -r 0.01 -i 'movie[.]avi' \
    38                   mplayer -- -benchmark -vo null movie.avi >/dev/null 2>&1
     38        zzuf -s ${seed} -r 0.01 -i 'movie[.]avi' mplayer -- \
     39                   -benchmark -vo null -fps 1000 movie.avi >/dev/null 2>&1
    3940        RET=$?
    4041        if [ $RET != 0 ]; then
    4142            echo "seed ${seed}: exit $RET"
    42             zzuf -s ${seed} -r 0.05 cp movie.avi movie-${seed}.avi
     43            zzuf -s ${seed} -r 0.05 cp movie.avi movie-crashed-${seed}.avi
    4344        fi
    4445    done
Note: See TracChangeset for help on using the changeset viewer.