summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2019-11-21 20:06:51 +0300
committerAlexei Starovoitov <ast@kernel.org>2019-11-25 03:58:46 +0300
commit260cb5df9d16c5715b32d73cc8af26ad9a17a792 (patch)
treedc410e35bdb263512e095f64aed2456b19e132d8 /kernel/bpf/arraymap.c
parent581738a681b6faae5725c2555439189ca81c0f1f (diff)
downloadlinux-260cb5df9d16c5715b32d73cc8af26ad9a17a792.tar.xz
selftests/bpf: Add verifier tests for better jmp32 register bounds
Three test cases are added. Test 1: jmp32 'reg op imm'. Test 2: jmp32 'reg op reg' where dst 'reg' has unknown constant and src 'reg' has known constant Test 3: jmp32 'reg op reg' where dst 'reg' has known constant and src 'reg' has unknown constant Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191121170651.449096-1-yhs@fb.com
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions