函数逻辑报告 |
Source Code:lib\livepatch\test_klp_shadow_vars.c |
Create Date:2022-07-27 07:35:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:shadow_alloc
函数原型:static void *shadow_alloc(void *obj, unsigned long id, size_t size, gfp_t gfp_flags, klp_shadow_ctor_t ctor, void *ctor_data)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | obj | |
unsigned long | id | |
size_t | size | |
gfp_t | gfp_flags | |
klp_shadow_ctor_t | ctor | |
void * | ctor_data |
77 | 打印信息("klp_%s(obj=PTR%d, id=0x%lx, size=%zx, gfp_flags=%pGg), ctor=PTR%d, ctor_data=PTR%d = PTR%d\n", __func__, ptr_id(obj), id, size, & gfp_flags, ptr_id(ctor), ptr_id(ctor_data), ptr_id(ret)) |
80 | 返回:ret |
名称 | 描述 |
---|---|
test_klp_shadow_vars_init |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |