Thread (25 messages) flat view 25 messages, 4 authors, 2017-06-09

Re: [RFC PATCH net-next 5/5] selftests/bpf: change test_verifier expectations

From: Alexei Starovoitov via iovisor-dev <hidden>
Date: 2017-06-08 02:43:47
Also in: lkml

On Wed, Jun 07, 2017 at 04:00:02PM +0100, Edward Cree wrote:
Some of the verifier's error messages have changed, and some constructs
 that previously couldn't be verified are now accepted.

Signed-off-by: Edward Cree <ecree-s/n/eUQHGBpZroRs9YW3xA@public.gmane.org>
---
 tools/testing/selftests/bpf/test_verifier.c | 226 ++++++++++++++--------------
 1 file changed, 116 insertions(+), 110 deletions(-)
imo this rewrite needs more than one additional test.
Like i counted at least 2 new verifier features (like negative and ptr & 0x40)
All the new logic needs to be covered by tests.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help