Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Packet data might have moved, any old PTR_TO_PACKET[_META,_END]* are now invalid, so turn them into unknown SCALAR_VALUE.

Proto:static void __clear_all_pkt_pointers(struct bpf_verifier_env *env, struct bpf_func_state *state)

Type:void

Parameter:

TypeParameterName
struct bpf_verifier_env *env
struct bpf_func_state *state
3885  regs = regs
3888  When i < BPF has 10 general purpose 64-bit registers and stack frame. cycle If reg_is_pkt_pointer_any( & regs[i]) Then
3890  mark_reg_unknown(env, regs, i)
3893  If Not reg Then Continue
3895  If reg_is_pkt_pointer_any(reg) Then Mark a register as having a completely unknown (scalar) value.
Caller
NameDescribe
clear_all_pkt_pointers