diff options
| author | Eduard Zingerman <[email protected]> | 2023-02-14 23:20:28 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-02-15 19:48:47 +0000 |
| commit | 1a24af65bb5fed673a9377e794ee3cf416fec64d (patch) | |
| tree | f35daec7c6f523270757f40f9b0a30cb85ba6130 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | bpf: track immediate values written to stack by BPF_ST instruction (diff) | |
| download | kernel-1a24af65bb5fed673a9377e794ee3cf416fec64d.tar.gz kernel-1a24af65bb5fed673a9377e794ee3cf416fec64d.zip | |
selftests/bpf: check if verifier tracks constants spilled by BPF_ST_MEM
Check that verifier tracks the value of 'imm' spilled to stack by
BPF_ST_MEM instruction. Cover the following cases:
- write of non-zero constant to stack;
- write of a zero constant to stack.
Signed-off-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions
