Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The verifier does more data flow analysis than llvm and will not* explore branches that are dead at run time. Malicious programs can* have dead code too. Therefore replace all dead at-run-time code* with 'ja -1'.* Just nops are not optimal, e

Proto:static void sanitize_dead_code(struct bpf_verifier_env *env)

Type:void

Parameter:

TypeParameterName
struct bpf_verifier_env *env
8565  aux_data = array of per-insn state
8566  trap = Conditional jumps against immediates, if (dst_reg 'op' imm32) goto pc + off16 (BPF_JA, 0, 0, - 1)
8567  insn = insnsi
8568  insn_cnt = Number of filter blocks
8571  When i < insn_cnt cycle
8572  If this insn was processed by the verifier Then Continue
8574  No 3D Now!(insn + i, & trap, size of trap )
Caller
NameDescribe
bpf_check