Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:he scalar precision tracking algorithm:* . at the start all registers have precise=false.* . scalar ranges are tracked as normal through alu and jmp insns.* . once precise value of the scalar register is used in:* . ptr + scalar alu*

Proto:static void mark_all_scalars_precise(struct bpf_verifier_env *env, struct bpf_verifier_state *st)

Type:void

Parameter:

TypeParameterName
struct bpf_verifier_env *env
struct bpf_verifier_state *st
1707  When st cycle When i <= curframe cycle
1709  func = call stack tracking [i]
1710  When j < BPF_REG_FP cycle
1711  reg = regs[j]
1717  If slot_type[0] != register spilled into stack Then Continue
1719  reg = spilled_ptr
Caller
NameDescribe
__mark_chain_precision