]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Some minor tweaks to the fuzzing docs
authorMatt Caswell <matt@openssl.org>
Mon, 1 Aug 2016 20:46:08 +0000 (21:46 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 1 Aug 2016 21:07:04 +0000 (22:07 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
INSTALL
fuzz/README.md

diff --git a/INSTALL b/INSTALL
index 85a74b862f3ddbfa97c0f4411027eaad05be027e..0e868b75caf491e5315294cb6e462aef5bdfe3bc 100644 (file)
--- a/INSTALL
+++ b/INSTALL
                    Don't compile in filename and line number information (e.g.
                    for errors and memory allocation).
 
-  enable-fuzz
-                   Build with support for fuzzing. This is a developer option
-                   only. It may not work on all platforms and should never be
-                   used in production environments. See the file fuzz/README.md
-                   for further details.
+  enable-fuzz-libfuzzer, enable-fuzz-afl
+                   Build with support for fuzzing using either libfuzzer or AFL.
+                   These are developer options only. They may not work on all
+                   platforms and should never be used in production environments.
+                   See the file fuzz/README.md for further details.
 
   no-gost
                    Don't build support for GOST based ciphersuites. Note that
index e8596a7b680b36c75e40a575f3bff2532a8dfa2b..138af0d5d0287cfddc93db59f30c3c2f5f190563 100644 (file)
@@ -38,7 +38,7 @@ 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 $FUZZER