]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Add Address Sanitizer suppressions
authorAndreas Schneider <asn@samba.org>
Tue, 6 Sep 2022 08:06:37 +0000 (10:06 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Sep 2022 22:34:36 +0000 (22:34 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/sanitizer/asan.supp [new file with mode: 0644]
selftest/wscript

diff --git a/selftest/sanitizer/asan.supp b/selftest/sanitizer/asan.supp
new file mode 100644 (file)
index 0000000..df54833
--- /dev/null
@@ -0,0 +1,2 @@
+interceptor_via_lib:libcrypto.so
+interceptor_via_lib:libgnutls.so
index 248b84802bf430c5dd1fe326c07c375898d9d246..dd25f595a1d16204103209123a1b52478dcdd13d 100644 (file)
@@ -317,6 +317,7 @@ def cmd_testonly(opt):
         asan_options += ":detect_odr_violation=0"
         # uncomment if you need asan logs
         # asan_options += ":verbosity=111"
+        asan_options += ":suppressions=${srcdir}/selftest/sanitizer/asan.supp"
         asan_options += " "
 
         # And we need to disable RTLD_DEEPBIND in ldb and socket wrapper