Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 12:55:55 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:func
Proto:static struct bpf_func_state *func(struct bpf_verifier_env *env, const struct bpf_reg_state *reg)
Type:struct bpf_func_state
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_verifier_env * | env | |
const struct bpf_reg_state * | reg |
475 | cur = current verifier state |
Name | Describe |
---|---|
visitor32 | |
visitor64 | |
check_mem_access | heck whether memory at (regno + off) is accessible for t = (read | write)* if t==write, value_regno is a register which value is stored into memory* if t==read, value_regno is a register which will receive the value from memory* if t==write && |
check_stack_boundary | when register 'regno' is passed into function that will read 'access_size'* bytes from that pointer, make sure that it's within stack boundary* and all elements of stack are initialized |
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 |