|
From: | Avinash Sonawane (@rootkea) |
Subject: | Re: wget2 | * configure.ac: Remove redundant sanitizer warnings (!506) |
Date: | Fri, 22 Apr 2022 17:55:00 +0000 |
Avinash Sonawane commented on a discussion on configure.ac: https://gitlab.com/gnuwget/wget2/-/merge_requests/506#note_921359202 > + if test "$CCNAME" = "gcc"; then > + gl_WARN_ADD([-fsanitize=float-cast-overflow]) > + fi > fi > > if test "$gl_cc_sanitize_asan" = yes; then > gl_WARN_ADD([-fsanitize=address]) > gl_WARN_ADD([-fsanitize=leak]) > - gl_WARN_ADD([-fsanitize=nonnull-attribute]) > gl_WARN_ADD([-fno-omit-frame-pointer]) > + gl_WARN_ADD([-fno-optimize-sibling-calls]) > > - # additional clang option > - gl_WARN_ADD([-fsanitize-address-use-after-scope]) > + if test "$CCNAME" = "gcc"; then > + gl_WARN_ADD([-fsanitize=pointer-compare]) Because it's included in `-fsanitize=address`. Source: https://clang.llvm.org/docs/AddressSanitizer.html and https://github.com/google/sanitizers/wiki/AddressSanitizerUseAfterScope -- Reply to this email directly or view it on GitLab: https://gitlab.com/gnuwget/wget2/-/merge_requests/506#note_921359202 You're receiving this email because of your account on gitlab.com.
[Prev in Thread] | Current Thread | [Next in Thread] |