]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests/bpf: MUL range computation tests.
authorCupertino Miranda <cupertino.miranda@oracle.com>
Mon, 6 May 2024 14:18:49 +0000 (15:18 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 7 May 2024 00:09:12 +0000 (17:09 -0700)
commit92956786b4e26ea22e5b3c1c86cc71f5c9b3b9d8
treed5c433c0d9cf68d1e208cc06512d49f00d9e3a33
parent41d047a871062f1a4d1871a1908d380c14e75428
selftests/bpf: MUL range computation tests.

Added a test for bound computation in MUL when non constant
values are used and both registers have bounded ranges.

Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: Yonghong Song <yonghong.song@linux.dev>
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: David Faust <david.faust@oracle.com>
Cc: Jose Marchesi <jose.marchesi@oracle.com>
Cc: Elena Zannoni <elena.zannoni@oracle.com>
Link: https://lore.kernel.org/r/20240506141849.185293-7-cupertino.miranda@oracle.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_bounds.c