Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__reg_bound_offset32

Proto:static void __reg_bound_offset32(struct bpf_reg_state *reg)

Type:void

Parameter:

TypeParameterName
struct bpf_reg_state *reg
1039  mask = 0xffffFFFF
1040  range = A value that's unknown except that @min <= value <= @max
1042  lo32 = Return @a with all but the lowest @size bytes cleared
1043  hi32 = Shift a tnum left (by a fixed shift)
1045  For scalar types (SCALAR_VALUE), this represents our knowledge of * the actual value. * For pointer types, this represents the variable part of the offset * from the pointed-to object, and is shared with all bpf_reg_states * with the same id as us. = Bitwise-OR, return @a | @b
Caller
NameDescribe
reg_set_min_maxAdjusts the register min/max values in the case that the dst_reg is the* variable register that we are working on, and src_reg is a constant or we're* simply doing a BPF_K check.* In JEQ/JNE cases we also adjust the var_off values.
reg_set_min_max_invSame as above, but for the case that dst_reg holds a constant and src_reg is* the variable reg.