[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:48:40 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:
> Besides, there's a difference in operation:
(If you called it `poison_padding` and respected that flag both in `malloc` and `calloc`, I'd have no problem)
https://github.com/llvm/llvm-project/pull/157187
More information about the llvm-commits
mailing list