]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7decf364b2cc43e3ac43d9f46886941d026dab7
tree4ca41124ca7aafec28741476e87ecfd7b6387309
parente4ac9bfb9ff6b0ce0420c21d3f7a2d031f4e9a49
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