函数逻辑报告 |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-27 14:37:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:btf_func_proto_log
函数原型:static void btf_func_proto_log(struct btf_verifier_env *env, const struct btf_type *t)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct btf_verifier_env * | env | |
const struct btf_type * | t |
2559 | nr_args等于btf_type_vlen(t) |
2561 | btf_verifier_log(env, "return=%u args=(", type) |
2562 | 如果非nr_args则 |
2563 | btf_verifier_log(env, "void") |
2564 | 转到:done |
2569 | btf_verifier_log(env, "vararg") |
2570 | 转到:done |
2573 | btf_verifier_log(env, "%u %s", type, __btf_name_by_offset(btf, name_off)) |
2576 | 以i小于nr_args减1循环btf_verifier_log(env, ", %u %s", type, __btf_name_by_offset(btf, name_off)) |
2581 | 如果nr_args大于1则 |
2584 | 如果type则btf_verifier_log(env, ", %u %s", type, __btf_name_by_offset(btf, name_off)) |
2588 | 否则btf_verifier_log(env, ", vararg") |
2592 | done : |
2593 | btf_verifier_log(env, ")") |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |