函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-27 14:35:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:btf_modifier_check_member

函数原型:static int btf_modifier_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type)

返回类型:int

参数:

类型参数名称
struct btf_verifier_env *env
const struct btf_type *struct_type
const struct btf_member *member
const struct btf_type *member_type
1569  resolved_type_id等于type
1571  btf等于btf
1573  resolved_type等于btf_type_id_size(btf, & resolved_type_id, NULL)
1574  如果非resolved_type
1575  btf_verifier_log_member(env, struct_type, member, "Invalid member")
1577  返回:负EINVAL
1580  resolved_member等于member
1581  type等于resolved_type_id
1583  返回:check_member(env, struct_type, & resolved_member, resolved_type)