[Privoxy-commits] [privoxy] 11/14: Add configure option to enable MemorySanitizer
User Git
git at git.privoxy.org
Sun Mar 21 07:35:03 UTC 2021
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 23d88f76d603f8059e6075a7d8987f449aca3992
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sat Feb 6 20:19:10 2021 +0100
Add configure option to enable MemorySanitizer
---
configure.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/configure.in b/configure.in
index 6b7f944b..07f2fd9c 100644
--- a/configure.in
+++ b/configure.in
@@ -168,6 +168,12 @@ if test "x$with_asan" = "xyes"; then
LDFLAGS="$LDFLAGS -fsanitize=address"
fi
+AC_ARG_WITH(asan, [ --with-msan Enable MemorySanitizer. Requires compiler support.])
+if test "x$with_msan" = "xyes"; then
+ CFLAGS="$CFLAGS -fsanitize=memory"
+ LDFLAGS="$LDFLAGS -fsanitize=memory"
+fi
+
AC_ARG_WITH(usan, [ --with-usan Enable UndefinedBehaviorSanitizer. Requires compiler support.])
if test "x$with_usan" = "xyes"; then
CFLAGS="$CFLAGS -fsanitize=undefined"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list