selftest/bpf: Verifier tests for var-off access
authorAndrei Matei <andreimatei1@gmail.com>
Sun, 7 Feb 2021 01:10:26 +0000 (20:10 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Feb 2021 18:44:19 +0000 (10:44 -0800)
commit7a22930c4179b51352f2ec9feb35167cbe79afd9
tree671296d6ae1db029dd609df99556ef3b3a410117
parenta680cb3d8e3f4f84205720b90c926579d04eedb6
selftest/bpf: Verifier tests for var-off access

Add tests for the new functionality - reading and writing to the stack
through a variable-offset pointer.

Signed-off-by: Andrei Matei <andreimatei1@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210207011027.676572-4-andreimatei1@gmail.com
tools/testing/selftests/bpf/verifier/var_off.c