[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:18:07 CET 2020
Tim Rühsen commented on a discussion on fuzz/README.md: https://gitlab.com/gnutls/gnutls/-/merge_requests/1218#note_309087134
> 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"
I don't see any advantages. Since FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION always appears in config.h, it even makes grepping slightly more complicated. For me, it doesn't matter. If you have a strong opinion about it, feel free to change it.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1218#note_309087134
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/e4cda157/attachment.html>
More information about the Gnutls-devel
mailing list