tools/bpf: Add verifier tests for 32bit pointer/scalar arithmetic
authorYonghong Song <yhs@fb.com>
Thu, 18 Jun 2020 23:46:32 +0000 (16:46 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 19 Jun 2020 21:34:43 +0000 (23:34 +0200)
commitd56b74b9e1b8d747171dc6ff60315c00c41562ce
tree4ca41124ca7aafec28741476e87ecfd7b6387309
parent6c6935419e2fd8ef1fcde71c4e50b9095e520900
tools/bpf: Add verifier tests for 32bit pointer/scalar arithmetic

Added two test_verifier subtests for 32bit pointer/scalar arithmetic
with BPF_SUB operator. They are passing verifier now.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200618234632.3321367-1-yhs@fb.com
tools/testing/selftests/bpf/verifier/value_ptr_arith.c