]> git.baikalelectronics.ru Git - kernel.git/commit
selftests, bpf: Test that dead ldx_w insns are accepted
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 12 Aug 2021 15:18:11 +0000 (17:18 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 13 Aug 2021 15:46:26 +0000 (17:46 +0200)
commit3776f3517ed94d40ff0e3851d7ce2ce17b63099f
tree2f9d76963a250780efba5e72266234e264d36b48
parent45c709f8c71b525b51988e782febe84ce933e7e0
selftests, bpf: Test that dead ldx_w insns are accepted

Prevent regressions related to zero-extension metadata handling during
dead code sanitization.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210812151811.184086-3-iii@linux.ibm.com
tools/testing/selftests/bpf/verifier/dead_code.c