summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2017-08-21 14:22:58 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-24 16:39:21 +0200
commitefdede1b1dcc6d82fe68e0ee2fc0ab8b87e29537 (patch)
treee0453c129d626c9ea264c38e02980cc6c61f945c /fuzz
parentf63ed65cd8b85739aab17a1360b624b09432dbfd (diff)
downloadgnutls-efdede1b1dcc6d82fe68e0ee2fc0ab8b87e29537.tar.gz
fuzzer: Change CFLAGS -O0 to -O1 in fuzz/README.md
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/README.md b/fuzz/README.md
index 3c42b4581c..07174d0997 100644
--- a/fuzz/README.md
+++ b/fuzz/README.md
@@ -15,7 +15,7 @@ regression testing with top dir 'make check'.
Use the following commands on top dir:
```
export CC=clang-5.0
-export CFLAGS="-O0 -g -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=undefined,integer,nullability -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,trace-cmp"
+export CFLAGS="-O1 -g -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=undefined,integer,nullability -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,trace-cmp"
./configure --enable-fuzzer-target --enable-static --disable-doc --disable-gcc-warnings --disable-hardware-acceleration
make clean
make