[compiler-rt] [msan] Mark allocator padding as uninitialized, with new origin tag (PR #157187)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 15:16:32 PDT 2025


================
@@ -22,6 +22,7 @@ MSAN_FLAG(int, origin_history_size, Origin::kMaxDepth, "")
 MSAN_FLAG(int, origin_history_per_stack_limit, 20000, "")
 MSAN_FLAG(bool, poison_heap_with_zeroes, false, "")
 MSAN_FLAG(bool, poison_stack_with_zeroes, false, "")
+MSAN_FLAG(bool, poison_in_calloc, true, "")
----------------
fmayer wrote:

do we really need a separate flag for this? we don't have `poison_in_posix_memalign` either.

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


More information about the llvm-commits mailing list