Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_callee_stack_depth

Proto:static int get_callee_stack_depth(struct bpf_verifier_env *env, const struct bpf_insn *insn, int idx)

Type:int

Parameter:

TypeParameterName
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  If subprog < 0 Then
2733  WARN_ONCE(1, "verifier bug. No program starts at insn %d\n", start)
2735  Return -EFAULT
2737  Return max. stack depth used by this function
Caller
NameDescribe
fixup_call_args