diff options
author | Andrii Nakryiko <[email protected]> | 2023-12-05 10:42:45 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-12-05 13:40:21 -0800 |
commit | add1cd7f22e61756987865ada9fe95cd86569025 (patch) | |
tree | 4a3a28c109d0c6d293cead323e1b26c883ee70bf /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | e322f0bcb8d371f4606eaf141c7f967e1a79bcb7 (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