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:reg_type_may_be_null

Proto:static bool reg_type_may_be_null(enum bpf_reg_type type)

Type:bool

Parameter:

TypeParameterName
enum bpf_reg_typetype
381  Return type == points to map elem value or NULL || type == g points to struct bpf_sock or NULL || type == g points to sock_common or NULL || type == g points to struct tcp_sock or NULL
Caller
NameDescribe
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 &&
mark_ptr_or_null_reg
check_cond_jmp_op