summaryrefslogtreecommitdiffstats
path: root/fuzz
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-07-03 20:00:47 -0400
committerRich Salz <rsalz@openssl.org>2016-07-04 09:47:27 -0400
commit31b15b9b55e716486d648e96c6a0e06680e077c4 (patch)
tree231aa8d6f6c8d00177da0481ab16e2f83844abc5 /fuzz
parentd513369bfa03e92c3289109560da4062b1d3625d (diff)
Update fuzz/README.md
Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/README.md16
1 files 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 <fuzzer> <arguments>
+ $ fuzz/helper.py $FUZZER
-Where `<fuzzer>` 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/<fuzzer>-crash/`. You can reproduce the crash with
+`fuzz/corpora/$FUZZER-crash/`. You can reproduce the crash with
- $ fuzz/<fuzzer> <crashfile>
+ $ fuzz/$FUZZER <crashfile>
AFL
===
@@ -63,8 +61,6 @@ Configure for fuzzing:
Run one of the fuzzers:
- $ afl-fuzz fuzz/<fuzzer> -i fuzz/corpora/<fuzzer> -o fuzz/corpora/<fuzzer>/out <fuzzer> <arguments>
+ $ afl-fuzz -i fuzz/corpora/$FUZZER -o fuzz/corpora/$FUZZER/out fuzz/$FUZZER
-Where `<fuzzer>` 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/`.