函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_func_state

函数原型:static void init_func_state(struct bpf_verifier_env *env, struct bpf_func_state *state, int callsite, int frameno, int subprogno)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
check_func_call
do_check