[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e346c0c6-89dd-d04f-a0cf-60c15b2d2a8a@iogearbox.net>
Date: Wed, 29 May 2019 14:59:46 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Jiong Wang <jiong.wang@...ronome.com>, alexei.starovoitov@...il.com
Cc: bjorn.topel@...el.com, bpf@...r.kernel.org, netdev@...r.kernel.org,
oss-drivers@...ronome.com
Subject: Re: [PATCH bpf 0/2] selftests: bpf: more sub-register zero extension
unit tests
On 05/29/2019 11:57 AM, Jiong Wang wrote:
> 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
Looks good, thanks for following up! Applied, thanks!
Powered by blists - more mailing lists