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:45 -0800
committerAlexei Starovoitov <[email protected]>2023-12-05 13:40:21 -0800
commitadd1cd7f22e61756987865ada9fe95cd86569025 (patch)
tree4a3a28c109d0c6d293cead323e1b26c883ee70bf /tools/testing/selftests/bpf/progs/test_autoload.c
parente322f0bcb8d371f4606eaf141c7f967e1a79bcb7 (diff)
selftests/bpf: validate zero preservation for sub-slot loads
Validate that 1-, 2-, and 4-byte loads from stack slots not aligned on 8-byte boundary still preserve zero, when loading from all-STACK_ZERO sub-slots, or when stack sub-slots are covered by spilled register with known constant zero value. 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