Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_reference_leak

Proto:static int check_reference_leak(struct bpf_verifier_env *env)

Type:int

Parameter:

TypeParameterName
struct bpf_verifier_env *env
4170  state = cur_func(env)
4173  When i < The following fields should be last. See copy_func_state() cycle
4174  verbose(env, "Unreleased reference id=%d alloc_insn=%d\n", Track each reference created with a unique id, even if the same * instruction creates the reference multiple times (eg, via CALL)., Instruction where the allocation of this reference occurred. This * is used purely to inform the user of a reference leak.)
4177  Return If The following fields should be last. See copy_func_state() Then -EINVAL Else 0
Caller
NameDescribe
check_helper_call
check_ld_absverify safety of LD_ABS|LD_IND instructions:* - they can only appear in the programs where ctx == skb* - since they are wrappers of function calls, they scratch R1-R5 registers,* preserve R6-R9, and store return value into R0* Implicit input:* ctx == skb
do_check