tools/bpf: add a verifier test case for bpf_get_stack helper and ARSH
authorYonghong Song <yhs@fb.com>
Sun, 29 Apr 2018 05:28:14 +0000 (22:28 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 29 Apr 2018 15:45:54 +0000 (08:45 -0700)
commit2abe611c5f031f06ab783102e62c0ae9dfd93e80
tree09ec3b52fe8c86ddbd49eaebe531e94ba57e4dbc
parent28dbf861deacb0321604bf1c5e1ccc34dd215669
tools/bpf: add a verifier test case for bpf_get_stack helper and ARSH

The test_verifier already has a few ARSH test cases.
This patch adds a new test case which takes advantage of newly
improved verifier behavior for bpf_get_stack and ARSH.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_verifier.c