函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kernel_text_address

函数原型:int kernel_text_address(unsigned long addr)

返回类型:int

参数:

类型参数名称
unsigned longaddr
122  ret等于1
124  如果core_kernel_text(addr)则返回:1
137  no_rcu等于非_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections
140  如果no_rcurcu_nmi_enter()
143  如果is_module_text_address(addr)则转到:out
145  如果is_ftrace_trampoline(addr)则转到:out
147  如果is_kprobe_optinsn_slot(addr)或is_kprobe_insn_slot(addr)则转到:out
149  如果is_bpf_text_address(addr)则转到:out
151  ret等于0
152  out :
153  如果no_rcurcu_nmi_exit()
156  返回:ret
调用者
名称描述
__kernel_text_address
check_kprobe_address_safe
kprobe_add_ksym_blacklist
jump_label_can_update
populate_error_injection_listLookup and populate the error_injection_list.* For safety reasons we only allow certain functions to be overridden with* bpf_error_injection, so we need to populate the list of the symbols that have* been marked as safe for overriding.