From 31b15b9b55e716486d648e96c6a0e06680e077c4 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sun, 3 Jul 2016 20:00:47 -0400 Subject: [PATCH] Update fuzz/README.md Reviewed-by: Kurt Roeckx Reviewed-by: Richard Levitte --- fuzz/README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/fuzz/README.md b/fuzz/README.md index e9ec88b8c6..e8596a7b68 100644 --- a/fuzz/README.md +++ b/fuzz/README.md @@ -41,16 +41,14 @@ Configure for fuzzing: enable-asan enable-ubsan no-shared $ sudo apt-get install make $ LDCMD=clang++ make -j - $ fuzz/helper.py + $ fuzz/helper.py $FUZZER -Where `` is one of the executables in `fuzz/`. Most fuzzers do not -need any command line arguments, but, for example, `asn1` needs the name of a -data type. +Where $FUZZER is one of the executables in `fuzz/`. If you get a crash, you should find a corresponding input file in -`fuzz/corpora/-crash/`. You can reproduce the crash with +`fuzz/corpora/$FUZZER-crash/`. You can reproduce the crash with - $ fuzz/ + $ fuzz/$FUZZER AFL === @@ -63,8 +61,6 @@ Configure for fuzzing: Run one of the fuzzers: - $ afl-fuzz fuzz/ -i fuzz/corpora/ -o fuzz/corpora//out + $ afl-fuzz -i fuzz/corpora/$FUZZER -o fuzz/corpora/$FUZZER/out fuzz/$FUZZER -Where `` is one of the executables in `fuzz/`. Most fuzzers do not -need any command line arguments, but, for example, `asn1` needs the name of a -data type. +Where $FUZZER is one of the executables in `fuzz/`. -- 2.40.0