summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorQi Tang <tpluszz77@gmail.com>2026-04-07 22:54:21 +0800
committerAlexei Starovoitov <ast@kernel.org>2026-04-07 15:53:45 -0700
commita4985a1755ec9e5aa5cfb89468ba4b51546b5eeb (patch)
tree93b6e994639f1877730fe7e46b2bc4a0030477ac /tools/perf/scripts/python/stackcollapse.py
parent57b23c0f612dcfa1aae99c9422d6d36ced1670d4 (diff)
selftests/bpf: add test for nullable PTR_TO_BUF access
Add iter_buf_null_fail with two tests and a test runner: - iter_buf_null_deref: verifier must reject direct dereference of ctx->key (PTR_TO_BUF | PTR_MAYBE_NULL) without a null check - iter_buf_null_check_ok: verifier must accept dereference after an explicit null check Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Reviewed-by: Amery Hung <ameryhung@gmail.com> Signed-off-by: Qi Tang <tpluszz77@gmail.com> Link: https://lore.kernel.org/r/20260407145421.4315-1-tpluszz77@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions