summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorKaFai Wan <kafai.wan@linux.dev>2025-11-03 14:31:08 +0800
committerAlexei Starovoitov <ast@kernel.org>2025-11-03 17:44:53 -0800
commit9f32bfec545c30aae5ee7c2908e4c471d671482d (patch)
tree6a29a08c3d40ea83fbb00cb7ff19819973765b0b /tools/testing/selftests/bpf/prog_tests/autoload.c
parentd43ad9da8052eda714caa38f243adbf32a8614cb (diff)
selftests/bpf: Add test for conditional jumps on same scalar register
Add test cases to verify the correctness of the BPF verifier's branch analysis when conditional jumps are performed on the same scalar register. And make sure that JGT does not trigger verifier BUG. Signed-off-by: KaFai Wan <kafai.wan@linux.dev> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20251103063108.1111764-3-kafai.wan@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions