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

Austin Schuh via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 8 00:46:40 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
----------------
AustinSchuh wrote:

Oh, very nice.  That caught a difference in initial startup behavior and normal behavior, which is now fixed.  Thanks!

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


More information about the llvm-commits mailing list