函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_callee_stack_depth

函数原型:static int get_callee_stack_depth(struct bpf_verifier_env *env, const struct bpf_insn *insn, int idx)

返回类型:int

参数:

类型参数名称
struct bpf_verifier_env *env
const struct bpf_insn *insn
intidx
2729  start等于idx signed immediate constant 加1
2731  subprog等于find_subprog(env, start)
2732  如果subprog小于0则
2733  WARN_ONCE(1, "verifier bug. No program starts at insn %d\n", start)
2735  返回:负EFAULT
2737  返回: max. stack depth used by this function
调用者
名称描述
fixup_call_args