X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=fuzz%2FREADME.md;h=138af0d5d0287cfddc93db59f30c3c2f5f190563;hp=e9ec88b8c6b90c2d2621a1e8bf1e03d2a7838c37;hb=5579eab9efd2c8e2f21340f9b9fe20ee89f25857;hpb=f59d0131cb6fc224aee0a0a92de1f04cdebe97c8 diff --git a/fuzz/README.md b/fuzz/README.md index e9ec88b8c6..138af0d5d0 100644 --- a/fuzz/README.md +++ b/fuzz/README.md @@ -38,19 +38,17 @@ Configure for fuzzing: $ CC=clang ./config enable-fuzz-libfuzzer \ --with-fuzzer-include=../../svn-work/Fuzzer \ --with-fuzzer-lib=../../svn-work/Fuzzer/libFuzzer \ - enable-asan enable-ubsan no-shared + -DPEDANTIC 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/`.