From: Rich Salz Date: Mon, 4 Jul 2016 00:00:47 +0000 (-0400) Subject: Update fuzz/README.md X-Git-Tag: OpenSSL_1_1_0-pre6~275 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=31b15b9b55e716486d648e96c6a0e06680e077c4 Update fuzz/README.md Reviewed-by: Kurt Roeckx Reviewed-by: Richard Levitte --- 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/`.