函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\core.c Create Date:2022-07-27 11:30:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:klp_alloc_func_nop

函数原型:static struct klp_func *klp_alloc_func_nop(struct klp_func *old_func, struct klp_object *obj)

返回类型:struct klp_func

参数:

类型参数名称
struct klp_func *old_func
struct klp_object *obj
459  func等于分配内存并置零
460  如果非func则返回:NULL
463  如果xternal
464  xternal 等于kstrdup(xternal , GFP_KERNEL)
465  如果非xternal
466  kfree(func)
467  返回:NULL
471  klp_init_func_early(obj, func)
476  The old_sympos field is optional and can be used to resolve* duplicate symbol names in livepatch objects等于The old_sympos field is optional and can be used to resolve* duplicate symbol names in livepatch objects
477  nop = true
479  返回:func
调用者
名称描述
klp_add_object_nops