summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2026-09-24 18:57:11 +0200
committerAlexei Starovoitov <ast@kernel.org>2026-09-24 18:04:45 +0000
commit76ab55b452440e1620ad837d4d23fe73aea40f2f (patch)
tree207e39aaa8e543a5fbc778820e975345b4f579cc /include/linux
parent7fc140ba3dd95fb0d94414ebe1b52ca990c3dc3a (diff)
selftests/bpf: Check that narrow stack stores define no slot
The stack liveness analysis records a store as a "def" only for the 4-byte half-slots it covers completely, so a one or two byte store near the top of the frame must not define anything. Add a test that reads fp-8, stores one byte at fp-1 and two bytes at fp-4, and reads fp-8 again, expecting no def mark on either store and the second read to still use fp-8. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20260924165740.2146806-11-memxor@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions