函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\btf.h Create Date:2022-07-27 13:59:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:btf_type_is_ptr

函数原型:static inline bool btf_type_is_ptr(const struct btf_type *t)

返回类型:bool

参数:

类型参数名称
const struct btf_type *t
59  返回:BTF_INFO_KIND( "info" bits arrangement * bits 0-15: vlen (e.g. # of struct's members) * bits 16-23: unused * bits 24-27: kind (e.g. int, ptr, array...etc) * bits 28-30: unused * bit 31: kind_flag, currently used by * struct, union and fwd)恒等于Pointer
调用者
名称描述
check_attach_btf_id
btf_type_needs_resolveWhat types need to be resolved?* btf_type_is_modifier() is an obvious one.* btf_type_is_struct() because its member refers to* another type (through member->type).* btf_type_is_var() because the variable refers to* another type
env_type_is_resolve_sink
env_stack_push
btf_type_id_size
btf_var_resolve
btf_ptr_resolve
btf_resolve_valid
btf_ctx_access
btf_struct_access
__btf_resolve_helper_id
__get_type_size
btf_check_func_arg_match