Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:type_is_sk_pointer

Proto:static bool type_is_sk_pointer(enum bpf_reg_type type)

Type:bool

Parameter:

TypeParameterName
enum bpf_reg_typetype
373  Return type == g points to struct bpf_sock || type == g points to sock_common || type == g points to struct tcp_sock || type == g points to struct xdp_sock
Caller
NameDescribe
is_sk_reg
check_mem_accessheck whether memory at (regno + off) is accessible for t = (read | write)* if t==write, value_regno is a register which value is stored into memory* if t==read, value_regno is a register which will receive the value from memory* if t==write &&
check_func_arg