Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 12:58:08 |
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_generic_ptr_alignment
Proto:static int check_generic_ptr_alignment(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, const char *pointer_desc, int off, int size, bool strict)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_verifier_env * | env | |
| const struct bpf_reg_state * | reg | |
| const char * | pointer_desc | |
| int | off | |
| int | size | |
| bool | strict |
| 2590 | verbose(env, "misaligned %saccess off %s+%d+%d size %d\n", pointer_desc, tn_buf, Fixed part of pointer offset, pointer types only , off, size) |
| 2592 | Return -EACCES |
| 2595 | Return 0 |
| Name | Describe |
|---|---|
| check_ptr_alignment |
| 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 |