Skip to content
Commit cedebd74 authored by Hao Sun's avatar Hao Sun Committed by Martin KaFai Lau
Browse files

selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID



Verify that nullness information is not porpagated in the branches
of register to register JEQ and JNE operations if one of them is
PTR_TO_BTF_ID. Implement this in C level so we can use CO-RE.

Signed-off-by: default avatarHao Sun <sunhao.th@gmail.com>
Suggested-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20221222024414.29539-2-sunhao.th@gmail.com


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 8374bfd5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment