| 函数逻辑报告 | 
| Source Code: kernel\bpf\btf.c | Create Date:2022-07-27 14:35:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:btf_modifier_resolve
函数原型:static int btf_modifier_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct btf_verifier_env * | env | |
| const struct resolve_vertex * | v | 
| 1684 | next_type_id等于type | 
| 1687 | next_type等于btf_type_by_id(btf, next_type_id) | 
| 1689 | btf_verifier_log_type(env, t, "Invalid type_id") | 
| 1690 | 返回:负EINVAL | 
| 1693 | 如果非env_type_is_resolve_sink(env, next_type)且非env_type_is_resolved(env, next_type_id)则返回:env_stack_push(env, next_type, next_type_id) | 
| 1703 | 如果非btf_type_id_size(btf, & next_type_id, NULL)则 | 
| 1704 | 如果env_type_is_resolved(env, next_type_id)则next_type等于The input param "type_id" must point to a needs_resolve type | 
| 1711 | btf_verifier_log_type(env, t, "Invalid type_id") | 
| 1712 | 返回:负EINVAL | 
| 1716 | env_stack_pop_resolved(env, next_type_id, 0) | 
| 1718 | 返回:0 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |