Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:opt_remove_dead_code

Proto:static int opt_remove_dead_code(struct bpf_verifier_env *env)

Type:int

Parameter:

TypeParameterName
struct bpf_verifier_env *env
8620  aux_data = array of per-insn state
8621  insn_cnt = Number of filter blocks
8624  When i < insn_cnt cycle
8627  j = 0
8628  When i + j < insn_cnt && Not this insn was processed by the verifier cycle
8629  j++
8630  If Not j Then Continue
8633  err = verifier_remove_insns(env, i, j)
8634  If err Then Return err
8636  insn_cnt = Number of filter blocks
8639  Return 0
Caller
NameDescribe
bpf_check