summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2026-09-18 01:32:11 +0200
committerEduard Zingerman <eddyz87@gmail.com>2026-09-17 18:01:42 -0700
commit2059d9af54f0d66deb237aa75d2ed28648df05a1 (patch)
tree830cfc25197575c31a487b5759b4fcf4795f00eb /tools/perf/scripts/python/bin
parentfd16449a9b3b31a8f18944c2f0e29e4e218ca2cf (diff)
downloadlinux-next-2059d9af54f0d66deb237aa75d2ed28648df05a1.tar.gz
linux-next-2059d9af54f0d66deb237aa75d2ed28648df05a1.zip
selftests/bpf: Test packet pointer class displacement pruning
Add two paths whose packet pointer ranges are individually compatible at a join but whose members have different relative displacements. The first path proves an eight-byte access through one member. On the second path, the same guard only proves that the access starts before data_end. An affected verifier prunes the second path and accepts the program. With packet pointer class displacement preserved, it explores that path and rejects the out-of-bounds access. Read the unknown offset and branch selector directly from XDP context fields, and force state checkpoints so the pruning attempt does not depend on the verifier checkpoint heuristics. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://patch.msgid.link/20260917233222.2542500-4-memxor@gmail.com Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions