aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-12-05 10:42:40 -0800
committerAlexei Starovoitov <[email protected]>2023-12-05 13:40:20 -0800
commit876301881c436bf38e83a2c0d276a24b642e4aab (patch)
treedcac49d7f85b37e4f999fd1d3cf382036eaf565d /tools/testing/selftests/bpf/progs/test_autoload.c
parent41f6f64e6999a837048b1bd13a2f8742964eca6b (diff)
selftests/bpf: add stack access precision test
Add a new selftests that validates precision tracking for stack access instruction, using both r10-based and non-r10-based accesses. For non-r10 ones we also make sure to have non-zero var_off to validate that final stack offset is tracked properly in instruction history information inside verifier. Acked-by: Eduard Zingerman <[email protected]> Signed-off-by: Andrii Nakryiko <[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/test_autoload.c')
0 files changed, 0 insertions, 0 deletions