Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 13:03:27 |
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:If an instruction was previously used with particular pointer types, then we* need to be careful to avoid cases such as the below, where it may be ok* for one branch accessing the pointer, but not ok for the other branch:* R1 = sock_ptr* goto X;*
Proto:static bool reg_type_mismatch(enum bpf_reg_type src, enum bpf_reg_type prev)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| enum bpf_reg_type | src | |
| enum bpf_reg_type | prev |
| 7732 | Return src != prev && ( Not Return true if it's OK to have the same insn return a different type. || Not Return true if it's OK to have the same insn return a different type. ) |
| 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 |