函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:find_subprog

函数原型:static int find_subprog(struct bpf_verifier_env *env, int off)

返回类型:int

参数:

类型参数名称
struct bpf_verifier_env *env
intoff
1158  p等于search - binary search an array of elements*@key: pointer to item being searched for*@base: pointer to first element to search*@num: number of elements*@size: size of each element*@cmp: pointer to comparison function
1160  如果非p则返回:负ENOENT
1162  返回:psubprog_info
调用者
名称描述
add_subprog
check_max_stack_depthstarting from main bpf function walk all instructions of the function* and recursively walk all callees that given function can call
get_callee_stack_depth
check_func_call
jit_subprogs