函数逻辑报告 |
Source Code:kernel\kprobes.c |
Create Date:2022-07-27 12:39:36 |
Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:check_kprobe_address_safe
函数原型:static int check_kprobe_address_safe(struct kprobe *p, struct module **probed_mod)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kprobe * | p | |
struct module ** | probed_mod |
1553 | ret等于arch_check_ftrace_location(p) |
1556 | jump_label_lock() |
1557 | 禁止抢占() |
1560 | 如果非kernel_text_address((unsignedlong) location of the probe point )或within_kprobe_blacklist((unsignedlong) location of the probe point )或jump_label_text_reserved( location of the probe point , location of the probe point )或find_bug((unsignedlong) location of the probe point )则 |
1570 | 如果probed_mod则 |
1575 | 如果此条件成立可能性小(为编译器优化)(!判断模块是否处于活动状态)则 |
1584 | 如果within_module_init((unsignedlong) location of the probe point , * probed_mod)且state不等于 Full formed, running module_init. 则 |
1591 | out : |
1592 | 禁用抢占和中断() |
1593 | jump_label_unlock() |
1595 | 返回:ret |
名称 | 描述 |
---|---|
register_kprobe |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |