summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-10-09 13:14:58 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-10-11 01:49:15 +0200
commit666b2c10ee9d51f14d04c416a14b1cb6fd0846e4 (patch)
tree59d859c0324f8da7eea026033a3ccd8ffec63b05 /scripts/bpf_helpers_doc.py
parenta23740ec43ba022dbfd139d0fe3eff193216272b (diff)
selftests/bpf: Add read-only map values propagation tests
Add tests checking that verifier does proper constant propagation for read-only maps. If constant propagation didn't work, skipp_loop and part_loop BPF programs would be rejected due to BPF verifier otherwise not being able to prove they ever complete. With constant propagation, though, they are succesfully validated as properly terminating loops. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20191009201458.2679171-3-andriin@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions