函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:s_module_text_address - is this address inside module code?*@addr: the address to check.* See is_module_address() if you simply want to see if the address is* anywhere in a module. See kernel_text_address() for testing if an

函数原型:bool is_module_text_address(unsigned long addr)

返回类型:bool

参数:

类型参数名称
unsigned longaddr
4498  禁止抢占()
4499  ret = __module_text_address - get the module whose code contains an address.*@addr: the address.* Must be called with preempt disabled or module mutex held so that* module doesn't get freed during this. != NULL
4500  禁用抢占和中断()
4502  返回:ret
调用者
名称描述
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_earlyxt_poke_early - Update instructions on a live kernel at boot time*@addr: address to modify*@opcode: source of the copy*@len: length to copy* When you use this code to patch more than one byte of an instruction
kernel_text_address