函数逻辑报告 |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-27 11:30:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:klp_find_object_symbol
函数原型:static int klp_find_object_symbol(const char *objname, const char *name, unsigned long sympos, unsigned long *addr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | objname | |
const char * | name | |
unsigned long | sympos | |
unsigned long * | addr |
158 | struct klp_find_arg args = {objname = objname, name = name, addr = 0, count = 0, pos = sympos, } |
166 | mutex_lock( & module_mutex) |
169 | 否则kallsyms_on_each_symbol(klp_find_callback, & args) |
185 | 否则 |
190 | addr等于0 |
191 | 返回:负EINVAL |
名称 | 描述 |
---|---|
klp_resolve_symbols | |
klp_init_object_loaded | parts of the initialization that is done only when the object is loaded |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |