Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_func_state

Proto:static void init_func_state(struct bpf_verifier_env *env, struct bpf_func_state *state, int callsite, int frameno, int subprogno)

Type:void

Parameter:

TypeParameterName
struct bpf_verifier_env *env
struct bpf_func_state *state
intcallsite
intframeno
intsubprogno
1136  dex of call instruction that called into this func = callsite
1137  stack frame number of this function state from pov of* enclosing bpf_verifier_state.* 0 = main function, 1 = first callee. = frameno
1138  subprog number == index within subprog_stack_depth* zero == main subprog = subprogno
1139  init_reg_state(env, state)
Caller
NameDescribe
check_func_call
do_check