aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2024-07-22 16:38:44 -0700
committerAndrii Nakryiko <[email protected]>2024-07-29 15:05:06 -0700
commitd0ad1f8f8846cffebca55abdd1ed275e276a6754 (patch)
tree78ca7ff80b11b4d4f68a30979e87b9f5b43c4eee /tools/testing/selftests/bpf/prog_tests/autoload.c
parentee7fe84468b1732fe65c5af3836437d54ac4c419 (diff)
selftests/bpf: test no_caller_saved_registers spill/fill removal
Tests for no_caller_saved_registers processing logic (see verifier.c:match_and_mark_nocsr_pattern()): - a canary positive test case; - a canary test case for arm64 and riscv64; - various tests with broken patterns; - tests with read/write fixed/varying stack access that violate nocsr stack access contract; - tests with multiple subprograms; - tests using nocsr in combination with may_goto/bpf_loop, as all of these features affect stack depth; - tests for nocsr stack spills below max stack depth. Signed-off-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions