summaryrefslogtreecommitdiffstats
path: root/contrib/python/cryptography/next/rust/msan.cpp
diff options
context:
space:
mode:
authorYDBot <[email protected]>2026-07-09 01:08:35 +0000
committerYDBot <[email protected]>2026-07-09 01:08:35 +0000
commit4e76e5312e7d44e930036f0e0184d0ee21067432 (patch)
tree375636370d43d6f721984b09684a0b81dcda9a46 /contrib/python/cryptography/next/rust/msan.cpp
parent75e0007213d9471b8bea1892aec2c3ad96fc922f (diff)
parent0a6ad8975632e0d3260c7e66f6295e5f1ed38eb9 (diff)
Sync branches 260709-0106
Diffstat (limited to 'contrib/python/cryptography/next/rust/msan.cpp')
-rw-r--r--contrib/python/cryptography/next/rust/msan.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/contrib/python/cryptography/next/rust/msan.cpp b/contrib/python/cryptography/next/rust/msan.cpp
deleted file mode 100644
index c653958f4b0..00000000000
--- a/contrib/python/cryptography/next/rust/msan.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <stdint.h>
-#include <cstddef>
-
-typedef size_t uptr;
-typedef uint32_t u32;
-
-// defined in clang{XX}-rt/msan
-extern "C" void __msan_set_alloca_origin_with_descr(void *a, uptr size, u32 *id_ptr, char *descr);
-extern "C" void __msan_unpoison(void *a, uptr size);
-
-
-extern "C" void __safe_msan_set_alloca_origin_with_descr(void *a, uptr size, u32 *id_ptr, char *descr) {
- __msan_set_alloca_origin_with_descr(a, size, id_ptr, descr);
- __msan_unpoison(a, size);
-}
-
-
-extern "C" void* malloc(size_t size);
-extern "C" void *__safe_malloc(size_t size) {
- void* ret = malloc(size);
- __msan_unpoison(ret, size);
- return ret;
-}