You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[msan] Mark allocator padding as uninitialized, with new origin tag
This is follow-up work per discussion in llvm#155944 (comment).
If the allocator reserves more space than the user requested (e.g.,
malloc(7) actually has 16 bytes reserved), the padding bytes will now be
marked as uninitialized; the origin will be set as a new tag,
ALLOC_PADDING (in the case of ambiguity caused by origin
granularity, ALLOC will take precedence).
Padding poisoning is controlled by the existing flag poison_in_malloc and a new flag,
poison_in_calloc.
0 commit comments