Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:reg_state

Proto:static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno)

Type:struct bpf_reg_state

Parameter:

TypeParameterName
struct bpf_verifier_env *env
intregno
2502  Return cur_regs(env) + regno
Caller
NameDescribe
is_pointer_value
is_ctx_reg
is_sk_reg
is_pkt_reg
is_flow_key_reg
check_xadd
__check_stack_boundary
check_stack_boundarywhen register 'regno' is passed into function that will read 'access_size'* bytes from that pointer, make sure that it's within stack boundary* and all elements of stack are initialized
do_check