aboutsummaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorJohn Fastabend2020-05-21 13:07:46 -0700
committerAlexei Starovoitov2020-05-21 17:44:25 -0700
commitc72b5cbb09bd76634b8d19695db2219964e24128 (patch)
tree6cb646f61e25e65cde2356d79c94a984c38a7512 /certs
parentcac616db39c207dc63465a4e05c6ce0e60b2cce4 (diff)
bpf: Selftests, verifier case for non null pointer check branch taken
When we have pointer type that is known to be non-null and comparing against zero we only follow the non-null branch. This adds tests to cover this case for reference tracking. Also add the other case when comparison against a non-zero value and ensure we still fail with unreleased reference. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/159009166599.6313.1593680633787453767.stgit@john-Precision-5820-Tower
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions