commit | d698f9dbdbed036ef28a96cd34a1b5d7fe58750e | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Wed Aug 07 14:39:59 2019 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Aug 07 14:43:49 2019 -0700 |
tree | 5d0831c3929b34b89e9eb44d5415040765302f16 | |
parent | 9654e2ae908eb0d51b0b79c7c50df0754ed38edd [diff] |
selftests/bpf: add CO-RE relocs ptr-as-array tests Add test validating correct relocation handling for cases where pointer to something is used as an array. E.g.: int *ptr = ...; int x = ptr[42]; Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>