[gnutls-devel] GnuTLS | fuzz: Update README.md for clang-9 [skip ci] (!1218)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Sun Mar 22 11:07:35 CET 2020
Tim Rühsen commented on a discussion on fuzz/README.md: https://gitlab.com/gnutls/gnutls/-/merge_requests/1218#note_309085473
> Use the following commands on top dir:
> ```
> export CC=clang
> -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"
> +export CXX=clang++
> +export CFLAGS="-O1 -g -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=undefined,integer,nullability,bool,alignment,null,enum,address,leak,nonnull-attribute -fno-sanitize-recover=all -fsanitize-recover=unsigned-integer-overflow -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link"
> +export CXXFLAGS="$CFLAGS"
> ./configure --disable-guile --enable-fuzzer-target --enable-static --disable-doc --disable-gcc-warnings --disable-hardware-acceleration
> make clean
> make
> cd fuzz
>
> # build and run gnutls_base64_decode_fuzzer (change ASAN path if not using clang-8)
Thanks, now removed completely as the symbolizer path now is version independent.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1218#note_309085473
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200322/789e7662/attachment-0001.html>
More information about the Gnutls-devel
mailing list