函数逻辑报告 |
Source Code:arch\x86\kernel\kprobes\core.c |
Create Date:2022-07-27 09:38:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Interrupts are disabled on entry as trap1 is an interrupt gate and they* remain disabled throughout this function.
函数原型:int kprobe_debug_handler(struct pt_regs *regs)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pt_regs * | regs |
| 981 | kcb等于get_kprobe_ctlblk() |
| 983 | 如果非cur则返回:0 |
| 987 | flags或等于kprobe_saved_flags |
| 995 | 如果kprobe_status恒等于KPROBE_REENTER则 |
| 997 | 转到:out |
| 999 | reset_current_kprobe() |
| 1000 | out : |
| 1006 | 如果flags按位与X86_EFLAGS_TF则返回:0 |
| 1009 | 返回:1 |
| 名称 | 描述 |
|---|---|
| do_debug | Our handling of the processor debug registers is non-trivial.* We do not clear them on entry and exit from the kernel. Therefore* it is possible to get a watchpoint trap here from inside the kernel.* However, the code in |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |