Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__mark_ptr_or_null_regs

Proto:static void __mark_ptr_or_null_regs(struct bpf_func_state *state, u32 id, bool is_null)

Type:void

Parameter:

TypeParameterName
struct bpf_func_state *state
u32id
boolis_null
5911  When i < BPF has 10 general purpose 64-bit registers and stack frame. cycle mark_ptr_or_null_reg(state, & regs[i], id, is_null)
5915  If Not reg Then Continue
5917  mark_ptr_or_null_reg(state, reg, id, is_null)
Caller
NameDescribe
mark_ptr_or_null_regsThe logic is similar to find_good_pkt_pointers(), both could eventually* be folded together at some point.