Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\livepatch\test_klp_shadow_vars.c Create Date:2022-07-28 06:38:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Shadow variable constructor - remember simple pointer data

Proto:static int shadow_ctor(void *obj, void *shadow_data, void *ctor_data)

Type:int

Parameter:

TypeParameterName
void *obj
void *shadow_data
void *ctor_data
113  shadow_int = shadow_data
114  shadow_int = ctor_data
115  pr_info("%s: PTR%d -> PTR%d\n", __func__, ptr_id(shadow_int), ptr_id(ctor_data))
118  Return 0