Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:opt_remove_nops

Proto:static int opt_remove_nops(struct bpf_verifier_env *env)

Type:int

Parameter:

TypeParameterName
struct bpf_verifier_env *env
8644  ja = Conditional jumps against immediates, if (dst_reg 'op' imm32) goto pc + off16 (BPF_JA, 0, 0, 0)
8645  insn = insnsi
8646  insn_cnt = Number of filter blocks
8649  When i < insn_cnt cycle
8650  If memcmp( & insn[i], & ja, size of ja ) Then Continue
8653  err = verifier_remove_insns(env, i, 1)
8654  If err Then Return err
8656  insn_cnt--
8657  i--
8660  Return 0
Caller
NameDescribe
bpf_check