函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__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.

函数原型:struct module *__module_text_address(unsigned long addr)

返回类型:struct module

参数:

类型参数名称
unsigned longaddr
4514  mod等于__module_address - get the module which 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.
4515  如果mod
4517  如果非within(addr, The actual code + data. , The size of the executable code. )且非within(addr, The actual code + data. , The size of the executable code. )则mod = NULL
4521  返回:mod
调用者
名称描述
is_module_text_addresss_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
check_kprobe_address_safe
__jump_label_mod_text_reserved