aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorCupertino Miranda <[email protected]>2024-05-06 14:18:48 +0000
committerAlexei Starovoitov <[email protected]>2024-05-07 00:09:12 +0000
commit41d047a871062f1a4d1871a1908d380c14e75428 (patch)
tree3461ffd9f5283a4ff853a704fb887b0d798ff767 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentselftests/bpf: XOR and OR range computation tests. (diff)
downloadkernel-41d047a871062f1a4d1871a1908d380c14e75428.tar.gz
kernel-41d047a871062f1a4d1871a1908d380c14e75428.zip
bpf/verifier: relax MUL range computation check
MUL instruction required that src_reg would be a known value (i.e. src_reg would be a const value). The condition in this case can be relaxed, since the range computation algorithm used in current code already supports a proper range computation for any valid range value on its operands. Signed-off-by: Cupertino Miranda <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Cc: Yonghong Song <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: David Faust <[email protected]> Cc: Jose Marchesi <[email protected]> Cc: Elena Zannoni <[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/autoload.c')
0 files changed, 0 insertions, 0 deletions