]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81aa1939b931e6ee2ef8990f7f34e2a50748115d
tree671296d6ae1db029dd609df99556ef3b3a410117
parent6cdb87bece4bd28d4ed0482a74714b3ad41720b7
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