函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return TRUE if INSN has defined any 32-bit value explicitly.

函数原型:static bool insn_has_def32(struct bpf_verifier_env *env, struct bpf_insn *insn)

返回类型:bool

参数:

类型参数名称
struct bpf_verifier_env *env
struct bpf_insn *insn
1406  如果Return TRUE if INSN doesn't have explicit value define. 则返回:false
1409  返回:非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.
调用者
名称描述
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