[compiler-rt] [llvm] [msan] Add interceptors for fortified memory functions (__memcpy_chk, etc.) (PR #206702)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 20:18:44 PDT 2026


================
@@ -83,6 +92,34 @@
   }
 #endif
 
+// By default the fortified _chk variants behave like their plain counterparts;
+// the fortification bound (dst_size) is unused because the tool's own bounds
----------------
vitalybuka wrote:

you can redefine own `__*san_default_options` and it will be called during init

https://github.com/llvm/llvm-project/pull/206702


More information about the llvm-commits mailing list