selftests/bpf: add tests for stack_zero tracking
authorAlexei Starovoitov <ast@fb.com>
Fri, 15 Dec 2017 01:55:09 +0000 (17:55 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 17 Dec 2017 19:34:35 +0000 (20:34 +0100)
commitd98588cef04529aa326c6cbc0cfa01a3a3e00ef5
treeb11bab5e6fd494ec0c3a9e86def8a43ed9140273
parentcc2b14d51053eb055c06f45e1a5cdbfcf2b79e94
selftests/bpf: add tests for stack_zero tracking

adjust two tests, since verifier got smarter
and add new one to test stack_zero logic

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_verifier.c