[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1559123829-9318-1-git-send-email-jiong.wang@netronome.com>
Date: Wed, 29 May 2019 10:57:07 +0100
From: Jiong Wang <jiong.wang@...ronome.com>
To: alexei.starovoitov@...il.com, daniel@...earbox.net
Cc: bjorn.topel@...el.com, bpf@...r.kernel.org, netdev@...r.kernel.org,
oss-drivers@...ronome.com, Jiong Wang <jiong.wang@...ronome.com>
Subject: [PATCH bpf 0/2] selftests: bpf: more sub-register zero extension unit tests
JIT back-ends need to guarantee high 32-bit cleared whenever one eBPF insn
write low 32-bit sub-register only. It is possible that some JIT back-ends
have failed doing this and are silently generating wrong image.
This set completes the unit tests, so bug on this could be exposed.
Jiong Wang (2):
selftests: bpf: move sub-register zero extension checks into subreg.c
selftests: bpf: complete sub-register zero extension checks
tools/testing/selftests/bpf/verifier/basic_instr.c | 39 --
tools/testing/selftests/bpf/verifier/subreg.c | 533 +++++++++++++++++++++
2 files changed, 533 insertions(+), 39 deletions(-)
create mode 100644 tools/testing/selftests/bpf/verifier/subreg.c
--
2.7.4
Powered by blists - more mailing lists