summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorXu Yunxiang <xyx2021@mail.ustc.edu.cn>2026-09-21 05:04:22 +0800
committerAndrii Nakryiko <andrii@kernel.org>2026-09-21 15:00:59 -0700
commit8244668cbbffc8e242b2c5204a2dea20bfca096c (patch)
tree8ee174c370ab79043a293db4a325e7d7416c15c4 /tools/perf/scripts/python/bin
parent79a9172f3ab4ad8392c5e5c8944b9b7710ade620 (diff)
downloadlinux-next-8244668cbbffc8e242b2c5204a2dea20bfca096c.tar.gz
linux-next-8244668cbbffc8e242b2c5204a2dea20bfca096c.zip
selftests/bpf: Reject iterator destruction through fp+0
Add a verifier regression test that initializes a numeric iterator at fp-8 and attempts to destroy it through fp+0. The verifier must reject the non-negative offset instead of treating it as the initialized stack slot. Check the offset diagnostic to ensure rejection happens at the stack object address check. The numeric iterator destroy operation is a no-op; this test checks verifier rejection and does not run the program. Signed-off-by: Xu Yunxiang <xyx2021@mail.ustc.edu.cn> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Sun Jian <sun.jian.kdev@gmail.com> Link: https://lore.kernel.org/bpf/20260920210423.345636-3-xyx2021@mail.ustc.edu.cn
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions