Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return TRUE if INSN has defined any 32-bit value explicitly.

Proto:static bool insn_has_def32(struct bpf_verifier_env *env, struct bpf_insn *insn)

Type:bool

Parameter:

TypeParameterName
struct bpf_verifier_env *env
struct bpf_insn *insn
1406  If Return TRUE if INSN doesn't have explicit value define. Then Return false
1409  Return Not This function is supposed to be used by the following 32-bit optimization* code only. It returns TRUE if the source or destination register operates* on 64-bit, otherwise return FALSE.
Caller
NameDescribe
adjust_insn_aux_datasingle env->prog->insni[off] instruction was replaced with the range* insni[off, off + cnt). Adjust corresponding insn_aux_data by copying* [0, off) and [off, end) to new locations, so the patched range stays zero