函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kallsyms.h Create Date:2022-07-27 06:49:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:is_ksym_addr

函数原型:static inline int is_ksym_addr(unsigned long addr)

返回类型:int

参数:

类型参数名称
unsigned longaddr
48  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_KALLSYMS_ALL)则返回:is_kernel(addr)
51  返回:is_kernel_text(addr)或is_kernel_inittext(addr)
调用者
名称描述
kallsyms_lookup_size_offsetLookup an address but don't bother to find any names.
kallsyms_lookupLookup an address* - modname is set to NULL if it's in the kernel.* - We guarantee that the returned name is valid until we reschedule even if.* It resides in a module.* - We also guarantee that modname will be valid until rescheduled.
lookup_symbol_name
lookup_symbol_attrs