Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 13:01:49 |
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:try_match_pkt_pointers
Proto:static bool try_match_pkt_pointers(const struct bpf_insn *insn, struct bpf_reg_state *dst_reg, struct bpf_reg_state *src_reg, struct bpf_verifier_state *this_branch, struct bpf_verifier_state *other_branch)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct bpf_insn * | insn | |
| struct bpf_reg_state * | dst_reg | |
| struct bpf_reg_state * | src_reg | |
| struct bpf_verifier_state * | this_branch | |
| struct bpf_verifier_state * | other_branch |
| 5954 | If Instruction classes ( opcode ) == jmp mode in word width Then Return false |
| 5958 | Case alu/jmp fields ( opcode ) == BPF_JGT |
| 5973 | Else |
| 5974 | Return false |
| 5976 | Break |
| 5977 | Case alu/jmp fields ( opcode ) == LT is unsigned, '<' |
| 5992 | Else |
| 5993 | Return false |
| 5995 | Break |
| 5996 | Case alu/jmp fields ( opcode ) == BPF_JGE |
| 6011 | Else |
| 6012 | Return false |
| 6014 | Break |
| 6015 | Case alu/jmp fields ( opcode ) == LE is unsigned, '<=' |
| 6030 | Else |
| 6031 | Return false |
| 6033 | Break |
| 6034 | Default |
| 6035 | Return false |
| 6038 | Return true |
| Name | Describe |
|---|---|
| check_cond_jmp_op |
| 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 |