aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/bpf_loop.c
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2022-06-21 02:53:43 +0300
committerAlexei Starovoitov <[email protected]>2022-06-20 17:40:51 -0700
commitf8acfdd04410d26b096a7082444cdc402df10f89 (patch)
treef3ea7252815a35d68dc4058ff8c7c22b95c06631 /tools/testing/selftests/bpf/progs/bpf_loop.c
parent1ade23711971b0eececf0d7fedc29d3c1d2fce01 (diff)
selftests/bpf: BPF test_verifier selftests for bpf_loop inlining
A number of test cases for BPF selftests test_verifier to check how bpf_loop inline transformation rewrites the BPF program. The following cases are covered: - happy path - no-rewrite when flags is non-zero - no-rewrite when callback is non-constant - subprogno in insn_aux is updated correctly when dead sub-programs are removed - check that correct stack offsets are assigned for spilling of R6-R8 registers Signed-off-by: Eduard Zingerman <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_loop.c')
0 files changed, 0 insertions, 0 deletions