Files
linux/tools/testing/selftests/bpf/prog_tests
Shung-Hsi Yu 3c41971550 selftests/bpf: precision tracking test for BPF_NEG and BPF_END
As seen from previous commit that fix backtracking for BPF_ALU | BPF_TO_BE
| BPF_END, both BPF_NEG and BPF_END require special handling. Add tests
written with inline assembly to check that the verifier does not incorrecly
use the src_reg field of BPF_NEG and BPF_END (including bswap added in v4).

Suggested-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Link: https://lore.kernel.org/r/20231102053913.12004-4-shung-hsi.yu@suse.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-11-01 22:54:28 -07:00
..
2023-09-08 08:42:17 -07:00
2023-08-31 17:18:53 +02:00
2023-08-16 11:42:33 -07:00
2023-11-01 22:31:41 -07:00
2023-03-08 11:15:39 -08:00
2022-11-20 15:45:48 -08:00