Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 13:02:05 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:may_access_skb
Proto:static bool may_access_skb(enum bpf_prog_type type)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
enum bpf_prog_type | type |
6247 | Case type == BPF_PROG_TYPE_SOCKET_FILTER |
6248 | Case type == BPF_PROG_TYPE_SCHED_CLS |
6249 | Case type == BPF_PROG_TYPE_SCHED_ACT |
6250 | Return true |
6251 | Default |
6252 | Return false |
Name | Describe |
---|---|
check_ld_abs | verify safety of LD_ABS|LD_IND instructions:* - they can only appear in the programs where ctx == skb* - since they are wrappers of function calls, they scratch R1-R5 registers,* preserve R6-R9, and store return value into R0* Implicit input:* ctx == skb |
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 |