diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2023-02-15 01:20:28 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-02-15 11:48:47 -0800 |
commit | 1a24af65bb5fed673a9377e794ee3cf416fec64d (patch) | |
tree | f35daec7c6f523270757f40f9b0a30cb85ba6130 /kernel | |
parent | ecdf985d7615356b78241fdb159c091830ed0380 (diff) | |
download | lwn-1a24af65bb5fed673a9377e794ee3cf416fec64d.tar.gz lwn-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 <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20230214232030.1502829-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions