函数逻辑报告 |
Source Code:kernel\module.c |
Create Date:2022-07-27 11:59:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Set up our basic convenience variables (pointers to section headers,* search for module section index etc), and do some basic section* verification.* Set info->mod to the temporary copy of the module in info->hdr. The final one
函数原型:static int setup_load_info(struct load_info *info, int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct load_info * | info | |
int | flags |
3057 | secstrings等于hdr加sh_offset |
3062 | 如果info则name等于get_modinfo(info, "name") |
3076 | 如果sym恒等于0则 |
3077 | 打印警告信息("%s: module has no symbols (stripped?)\n", name ? : "(missing .modinfo section or name field)") |
3079 | 返回:负ENOEXEC |
3083 | 如果非mod则 |
3086 | 返回:负ENOEXEC |
3095 | 如果非name则name等于 Unique handle for this module |
3098 | 如果flags按位与Flags for sys_finit_module: 则vers等于0 |
3103 | pcpu等于find_pcpusec(info) |
3105 | 返回:0 |
名称 | 描述 |
---|---|
load_module | Allocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |