| Function report | 
| Source Code: kernel\bpf\verifier.c | Create Date:2022-07-28 13:01:16 | 
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Return true if VAL is compared with a s64 sign extended from s32, and they* are with the same signedness.
Proto:static bool cmp_val_with_extended_s64(s64 sval, struct bpf_reg_state *reg)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| s64 | sval | |
| struct bpf_reg_state * | reg | 
| 5558 | Return sval >= 0 && minimum possible (s64)value >= 0 && maximum possible (s64)value <= S32_MAX || sval < 0 && maximum possible (s64)value <= 0 && minimum possible (s64)value >= S32_MIN | 
| Name | Describe | 
|---|---|
| reg_set_min_max | Adjusts the register min/max values in the case that the dst_reg is the* variable register that we are working on, and src_reg is a constant or we're* simply doing a BPF_K check.* In JEQ/JNE cases we also adjust the var_off values. | 
| reg_set_min_max_inv | Same as above, but for the case that dst_reg holds a constant and src_reg is* the variable reg. | 
| 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 |