selftests/bpf: Add flexible array relocation tests

Add few tests validation CO-RE relocation handling of flexible array accesses.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191215070844.1014385-3-andriin@fb.com
This commit is contained in:
Andrii Nakryiko 2019-12-14 23:08:44 -08:00 • committed by Alexei Starovoitov
commit 5f2eeceffb
6 changed files with 56 additions and 4 deletions