函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-27 14:19:03
Last Modify:2022-05-19 20:02:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static void sanitize_dead_code(struct bpf_verifier_env *env)

返回类型:void

参数:

类型参数名称
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 i小于insn_cnt循环
8572  如果 this insn was processed by the verifier 则继续下一循环
8574  内存复制(insn + i, & trap, trap的长度)
调用者
名称描述
bpf_check