aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/openssl/.yandex_meta/__init__.py
diff options
context:
space:
mode:
authornechda <nechda@yandex-team.com>2024-11-19 22:47:26 +0300
committernechda <nechda@yandex-team.com>2024-11-19 22:59:42 +0300
commit5d885b87d95d69c68611be5aef800f5ff90f42a8 (patch)
treeab952c754d3df7f31b7aa169317aa3e94152f2bc /contrib/libs/openssl/.yandex_meta/__init__.py
parent7297d051e885fd49e3a809f5181df9d4368cbe23 (diff)
downloadydb-5d885b87d95d69c68611be5aef800f5ff90f42a8.tar.gz
Add suppressions for ubsan in openssl
commit_hash:54d8848f6168c0370b9bcbd164290fc4fc1c2128
Diffstat (limited to 'contrib/libs/openssl/.yandex_meta/__init__.py')
-rw-r--r--contrib/libs/openssl/.yandex_meta/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/libs/openssl/.yandex_meta/__init__.py b/contrib/libs/openssl/.yandex_meta/__init__.py
index b1e69b9c4c..08770e451d 100644
--- a/contrib/libs/openssl/.yandex_meta/__init__.py
+++ b/contrib/libs/openssl/.yandex_meta/__init__.py
@@ -31,6 +31,10 @@ def post_install(self):
m.SRCS = {P.relpath(s, "crypto") for s in m.SRCS}
m.SRCS -= {"dso/dso_dlfcn.c", "rand/rand_vms.c"}
+ # Add suppression for ubsan, see also https://github.com/openssl/openssl/issues/22896
+ with self.yamakes["crypto"] as m:
+ m.after("NO_RUNTIME", "SUPPRESSIONS(ubsan.supp)")
+
self.yamakes["crypto"].PEERDIR.add("library/cpp/sanitizer/include")
self.yamakes["apps"].PEERDIR.add("library/cpp/sanitizer/include")
@@ -142,6 +146,7 @@ openssl = NixProject(
"asm/windows/",
"openssl.package.json",
"sanitizers.h",
+ "crypto/ubsan.supp",
],
post_install=post_install,
)