函数逻辑报告 |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-27 11:30:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:parts of the initialization that is done only when the object is loaded
函数原型:static int klp_init_object_loaded(struct klp_patch *patch, struct klp_object *obj)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct klp_patch * | patch | |
| struct klp_object * | obj |
| 742 | module_disable_ro(xternal ) |
| 743 | ret等于klp_write_object_relocations(xternal , obj) |
| 744 | 如果ret则 |
| 745 | module_enable_ro(xternal , true) |
| 747 | 返回:ret |
| 751 | module_enable_ro(xternal , true) |
| 755 | klp_for_each_func(obj, func) |
| 756 | ret等于klp_find_object_symbol( external , xternal , The old_sympos field is optional and can be used to resolve* duplicate symbol names in livepatch objects, (unsignedlong * ) & rnal ) |
| 762 | ret等于kallsyms_lookup_size_offset((unsignedlong)rnal , & old_size, NULL) |
| 764 | 如果非ret则 |
| 773 | ret等于kallsyms_lookup_size_offset((unsignedlong)new_func, & new_size, NULL) |
| 775 | 如果非ret则 |
| 782 | 返回:0 |
| 名称 | 描述 |
|---|---|
| klp_init_object | |
| klp_module_coming |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |