Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 12:57:05 |
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:r any branch, call, exit record the history of jmps in the given state
Proto:static int push_jmp_history(struct bpf_verifier_env *env, struct bpf_verifier_state *cur)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_verifier_env * | env | |
| struct bpf_verifier_state * | cur |
| 1474 | cnt = jmp_history_cnt |
| 1477 | cnt++ |
| 1482 | prev_idx = prev_insn_idx |
| 1483 | jmp history recorded from first to last. * backtracking is using it to go from last to first. * For most states jmp_history_cnt is [0-3]. * For loops can go up to ~40. = p |
| 1484 | jmp_history_cnt = cnt |
| 1485 | Return 0 |
| Name | Describe |
|---|---|
| is_state_visited |
| 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 |