函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-27 14:10:58
Last Modify:2022-05-19 20:02:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Does this register contain a constant zero?

函数原型:static bool register_is_null(struct bpf_reg_state *reg)

返回类型:bool

参数:

类型参数名称
struct bpf_reg_state *reg
1928  返回: Ordering of fields matters. See states_equal() 恒等于g doesn't contain a valid pointer Returns true if @a == tnum_const(@b)
调用者
名称描述
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