Function report | 
Source Code:kernel\bpf\verifier.c | 
Create Date:2022-07-28 13:04:13 | 
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:adjust_subprog_starts_after_remove
Proto:static int adjust_subprog_starts_after_remove(struct bpf_verifier_env *env, u32 off, u32 cnt)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_verifier_env * | env | |
| u32 | off | |
| u32 | cnt | 
| 8411 | When i < subprog_cnt cycle If insn idx of function entry point >= off Then | 
| 8413 | Break | 
| 8415 | When j < subprog_cnt cycle If insn idx of function entry point >= off + cnt Then | 
| 8417 | Break | 
| 8421 | If insn idx of function entry point != off + cnt Then j-- | 
| 8425 | aux = Auxiliary fields | 
| 8429 | move = subprog_cnt + 1 - j | 
| 8431 | memmove(subprog_info + i, subprog_info + j, size of subprog_info * move) | 
| 8434 | subprog_cnt -= j - i | 
| 8437 | If func_info Then | 
| 8448 | Else | 
| 8450 | If insn idx of function entry point == off Then i++ | 
| 8455 | When i <= subprog_cnt cycle insn idx of function entry point -= cnt | 
| 8458 | Return 0 | 
| Name | Describe | 
|---|---|
| verifier_remove_insns | 
| 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  |