Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 13:02:04 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:verify BPF_LD_IMM64 instruction
Proto:static int check_ld_imm(struct bpf_verifier_env *env, struct bpf_insn *insn)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_verifier_env * | env | |
struct bpf_insn * | insn |
6204 | If ld/ldx fields ( opcode ) != double word (64-bit) Then |
6208 | If signed offset != 0 Then |
6217 | If source register == 0 Then |
6218 | imm = signed immediate constant << 32 | signed immediate constant |
6222 | Return 0 |
6226 | mark_reg_known_zero(env, regs, dest register ) |
6229 | If source register == BPF_PSEUDO_MAP_VALUE Then |
6234 | Else if source register == When BPF ldimm64's insn[0] Then |
6236 | Else |
6241 | Return 0 |
Name | Describe |
---|---|
do_check |
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 |