Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 12:58:10 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_ptr_alignment
Proto:static int check_ptr_alignment(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int off, int size, bool strict_alignment_once)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_verifier_env * | env | |
const struct bpf_reg_state * | reg | |
int | off | |
int | size | |
bool | strict_alignment_once |
2603 | pointer_desc = "" |
2613 | pointer_desc = "flow keys " |
2614 | Break |
2616 | pointer_desc = "value " |
2617 | Break |
2619 | pointer_desc = "context " |
2620 | Break |
2630 | pointer_desc = "sock " |
2631 | Break |
2633 | pointer_desc = "sock_common " |
2634 | Break |
2636 | pointer_desc = "tcp_sock " |
2637 | Break |
2639 | pointer_desc = "xdp_sock " |
2640 | Break |
2641 | Default |
2642 | Break |
2644 | Return check_generic_ptr_alignment(env, reg, pointer_desc, off, size, strict) |
Name | Describe |
---|---|
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_func_arg |
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 |