[clang] [BoundsSafety] Bounds-check member access through &p[i], p + i and casts (PR #243308)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 16 17:58:48 PST 2026
https://github.com/abhijeetsharma200 created https://github.com/llvm/llvm-project/pull/243308
`EmitPointerWithAlignment`'s `&E`, `p + i` and array-decay peepholes return no bounds, so arrow member access through them had no bounds check. For a wide pointer, only use a peephole that returns bounds.
Fixes #15063.
error: too big or took too long to generate
More information about the cfe-commits
mailing list