Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 12:56:58 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static bool is_reg64(struct bpf_verifier_env *env, struct bpf_insn *insn, u32 regno, struct bpf_reg_state *reg, enum reg_arg_type t)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_verifier_env * | env | |
struct bpf_insn * | insn | |
u32 | regno | |
struct bpf_reg_state * | reg | |
enum reg_arg_type | t |
1320 | class = Instruction classes (code) |
1321 | op = alu/jmp fields (code) |
1326 | If op == unction return Then Return true |
1328 | If op == unction call Then |
1334 | If source register == when bpf_call->src_reg == BPF_PSEUDO_CALL, bpf_call->imm == pc-relative* offset to another bpf function Then Return false |
1339 | If t == register is used as source operand Then Return true |
1342 | Return false |
1346 | If class == alu mode in double word width || class == BPF_JMP || class == BPF_ALU && op == lags for endianness conversion: && signed immediate constant == 64 Then Return true |
1351 | If class == BPF_ALU || class == jmp mode in word width Then Return false |
1355 | If t != register is used as source operand Then Return ld/ldx fields (code) == double word (64-bit) |
1358 | Return true |
1362 | If Ordering of fields matters. See states_equal() != g doesn't contain a valid pointer Then Return true |
1364 | Return ld/ldx fields (code) == double word (64-bit) |
1368 | mode = BPF BPF_DW 0x18 64-bit (code) |
1375 | If t != register is used as source operand Then Return false |
1383 | Return true |
1391 | Return true |
Name | Describe |
---|---|
insn_has_def32 | Return TRUE if INSN has defined any 32-bit value explicitly. |
check_reg_arg | |
opt_subreg_zext_lo32_rnd_hi32 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |