selftests/bpf: Add a few tests to cover
authorYonghong Song <yonghong.song@linux.dev>
Sat, 15 Jun 2024 17:46:37 +0000 (10:46 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 17 Jun 2024 17:45:47 +0000 (10:45 -0700)
commita62293c33b058415237c55058a6d20de313a2e61
tree9bf05bfc8d552c7b5dff0f0698c96f25cf90009a
parent44b7f7151dfc2e0947f39ed4b9bc4b0c2ccd46fc
selftests/bpf: Add a few tests to cover

Add three unit tests in verifier_movsx.c to cover
cases where missed var_off setting can cause
unexpected verification success or failure.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240615174637.3995589-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_movsx.c