函数逻辑报告 |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-27 11:30:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:klp_add_object_nops
函数原型:static int klp_add_object_nops(struct klp_patch *patch, struct klp_object *old_obj)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct klp_patch * | patch | |
struct klp_object * | old_obj |
488 | obj等于klp_find_object(patch, old_obj) |
490 | 如果非obj则 |
496 | klp_for_each_func(old_obj, old_func) |
497 | func等于klp_find_func(obj, old_func) |
498 | 如果func则继续下一循环 |
501 | func等于klp_alloc_func_nop(old_func, obj) |
506 | 返回:0 |
名称 | 描述 |
---|---|
klp_add_nops | Add 'nop' functions which simply return to the caller to run* the original function. The 'nop' functions are added to a* patch to facilitate a 'replace' mode. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |