Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Does this register contain a constant zero?

Proto:static bool register_is_null(struct bpf_reg_state *reg)

Type:bool

Parameter:

TypeParameterName
struct bpf_reg_state *reg
1928  Return Ordering of fields matters. See states_equal() == g doesn't contain a valid pointer && Returns true if @a == tnum_const(@b)
Caller
NameDescribe
check_stack_writeheck_stack_read/write functions track spill/fill of registers,* stack boundary and alignment are checked in check_mem_access()
check_stack_boundarywhen register 'regno' is passed into function that will read 'access_size'* bytes from that pointer, make sure that it's within stack boundary* and all elements of stack are initialized
check_func_arg
check_helper_call