Function report | 
Source Code:kernel\livepatch\core.c | 
Create Date:2022-07-28 10:30:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:klp_add_object_nops
Proto:static int klp_add_object_nops(struct klp_patch *patch, struct klp_object *old_obj)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct klp_patch * | patch | |
| struct klp_object * | old_obj | 
| 488 | obj = klp_find_object(patch, old_obj) | 
| 490 | If Not obj Then | 
| 496 | klp_for_each_func(old_obj, old_func) | 
| 497 | func = klp_find_func(obj, old_func) | 
| 498 | If func Then Continue | 
| 501 | func = klp_alloc_func_nop(old_func, obj) | 
| 506 | Return 0 | 
| Name | Describe | 
|---|---|
| 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. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |