Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 12:56:07 |
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:py_stack_state()
Proto:static int copy_stack_state(struct bpf_func_state *dst, const struct bpf_func_state *src)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_func_state * | dst | |
| const struct bpf_func_state * | src |
| 611 | If Not stack Then Return 0 |
| 611 | if (({ |
| 611 | __ret_warn_on = Not Not (allocated_stack < allocated_stack) |
| 611 | __builtin_expect(!!(__ret_warn_on), 0) |
| 611 | })) |
| 611 | __builtin_memset(dst, 0, size of dst ) |
| 611 | Return -EFAULT |
| 611 | gcc 内建函数 需要声明 |
| 611 | Return 0 |
| Name | Describe |
|---|---|
| copy_func_state | py verifier state from src to dst growing dst stack space* when necessary to accommodate larger src stack |
| 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 |