函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:core_kernel_text

函数原型:int notrace core_kernel_text(unsigned long addr)

返回类型:int

参数:

类型参数名称
unsigned longaddr
74  如果addr大于等于Usage guidelines:* _text, _data: architecture specific, don't use them in arch-independent code* [_stext, _etext]: contains .text.* sections, may also contain .rodata.** and/or .init.* sections* [_sdata, _edata]: contains addr小于Usage guidelines:* _text, _data: architecture specific, don't use them in arch-independent code* [_stext, _etext]: contains .text.* sections, may also contain .rodata.** and/or .init.* sections* [_sdata, _edata]: contains 则返回:1
78  如果Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE.小于SYSTEM_RUNNINGinit_kernel_text(addr)则返回:1
81  返回:0
调用者
名称描述
kernel_text_address
func_ptr_is_kernel_textOn some architectures (PPC64, IA64) function pointers* are actually only tokens to some data that then holds the* real function address. As a result, to find if a function* pointer is part of the kernel text, we need to do some
__text_poke