Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-28 12:56:32
Last Modify:2022-05-19 20:02:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Unmodified PTR_TO_PACKET[_META,_END] register from ctx access.

Proto:static bool reg_is_init_pkt_pointer(const struct bpf_reg_state *reg, enum bpf_reg_type which)

Type:bool

Parameter:

TypeParameterName
const struct bpf_reg_state *reg
enum bpf_reg_typewhich
974  Return Ordering of fields matters. See states_equal() == which && For PTR_TO_PACKET, used to find other pointers with the same variable * offset, so they can share range knowledge. * For PTR_TO_MAP_VALUE_OR_NULL this is used to share which map value we * came from, when one is tested for != NULL. * For PTR_TO_SOCKET thi == 0 && Fixed part of pointer offset, pointer types only == 0 && Returns true if @a == tnum_const(@b)
Caller
NameDescribe
try_match_pkt_pointers