Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 13:04:17 |
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_adj_linfo_after_remove
Proto:static int bpf_adj_linfo_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 |
| 8464 | prog = BPF program being verified |
| 8469 | If Not nr_linfo Then Return 0 |
| 8477 | Break |
| 8480 | l_cnt = 0 |
| 8483 | l_cnt++ |
| 8484 | Else Break |
| 8498 | If l_cnt Then |
| 8511 | When i <= subprog_cnt cycle If The idx to the main_prog->aux->linfo > l_off Then |
| 8516 | If The idx to the main_prog->aux->linfo >= l_off + l_cnt Then The idx to the main_prog->aux->linfo -= l_cnt |
| 8518 | Else The idx to the main_prog->aux->linfo = l_off |
| 8522 | 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 |