Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:20:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btf_parse_str_sec
Proto:static int btf_parse_str_sec(struct btf_verifier_env *env)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct btf_verifier_env * | env |
| 3206 | start = nohdr_data + offset of string section |
| 3207 | end = start + length of string section |
| 3210 | btf_verifier_log(env, "String section is not at the end") |
| 3211 | Return -EINVAL |
| 3214 | If Not length of string section || length of string section - 1 > Max offset into the string section || start[0] || end[ - 1] Then |
| 3216 | btf_verifier_log(env, "Invalid string section") |
| 3217 | Return -EINVAL |
| 3222 | Return 0 |
| Name | Describe |
|---|---|
| btf_parse | |
| btf_parse_vmlinux |
| 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 |