struct module *__module_text_address(unsigned long addr)

功能: 若addr此地址在某模块的代码段中 返回模块的地址

addr:内存地址

返回值:模块地址或NULL

注意: 使用时禁止内核抢占  preempt_disable和preempt_enable

头文件: #include <linux/module.h>

举例子:

内核函数 __module_text_address

内核函数 __module_text_address

内核函数 __module_text_address


 

相关文章:

  • 2022-12-23
  • 2021-10-05
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-09-03
  • 2021-10-02
猜你喜欢
  • 2021-07-11
  • 2021-07-16
  • 2021-07-12
  • 2021-11-13
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案