Function report |
Source Code:kernel\module.c |
Create Date:2022-07-28 10:59:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__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.
Proto:struct module *__module_text_address(unsigned long addr)
Type:struct module
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr |
| 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 | If mod Then |
| 4517 | If Not within(addr, The actual code + data. , The size of the executable code. ) && Not within(addr, The actual code + data. , The size of the executable code. ) Then mod = NULL |
| 4521 | Return mod |
| Name | Describe |
|---|---|
| is_module_text_address | 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 |
| check_kprobe_address_safe | |
| __jump_label_mod_text_reserved |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |