]> Gentwo Git Trees - linux/.git/commit
selftests/bpf: add C-level selftests for indirect jumps
authorAnton Protopopov <a.s.protopopov@gmail.com>
Wed, 5 Nov 2025 09:04:10 +0000 (09:04 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 6 Nov 2025 01:53:56 +0000 (17:53 -0800)
commitac4d838ce122324b327f69d6de97c96442fcc6ba
treeee984b4c06373b8b7248a3feaf8c60ba21a99fc7
parentccbdb48ce5cd50733578c20b0c6860666c3d2a69
selftests/bpf: add C-level selftests for indirect jumps

Add C-level selftests for indirect jumps to validate LLVM and libbpf
functionality. The tests are intentionally disabled, to be run
locally by developers, but will not make the CI red.

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Link: https://lore.kernel.org/r/20251105090410.1250500-13-a.s.protopopov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/prog_tests/bpf_gotox.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/bpf_gotox.c [new file with mode: 0644]