函数逻辑报告 |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-27 11:30:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Remove parts of patches that touch a given kernel module. The list of* patches processed might be limited. When limit is NULL, all patches* will be handled.
函数原型:static void klp_cleanup_module_patches_limited(struct module *mod, struct klp_patch *limit)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct module * | mod | |
struct klp_patch * | limit |
1110 | klp_for_each_patch(patch) |
1114 | klp_for_each_object(patch, obj) |
1115 | 如果非klp_is_module(obj)或字符串比较则继续下一循环 |
1118 | 如果patch不等于klp_transition_patch则klp_pre_unpatch_callback(obj) |
1121 | 打印注释信息("reverting patch '%s' on unloading module '%s'\n", Unique handle for this module , Unique handle for this module ) |
1123 | klp_unpatch_object(obj) |
1125 | klp_post_unpatch_callback(obj) |
1128 | 退出 |
名称 | 描述 |
---|---|
klp_module_coming | |
klp_module_going |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |