函数逻辑报告 |
Source Code:arch\x86\kernel\uprobes.c |
Create Date:2022-07-27 09:47:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Called after single-stepping. To avoid the SMP problems that can* occur when we temporarily put back the original opcode to* single-step, we single-stepped a copy of the instruction.* This function prepares to resume execution after the single-step.
函数原型:int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct arch_uprobe * | auprobe | |
| struct pt_regs * | regs |
| 962 | send_sigtrap等于saved_tf |
| 963 | err等于0 |
| 965 | WARN_ON_ONCE(trap_nr != UPROBE_TRAP_NR) |
| 966 | trap_nr等于saved_trap_nr |
| 968 | 如果post_xol则 |
| 970 | 如果err则 |
| 987 | 如果send_sigtrap则send_sig(SIGTRAP, 当前进程, 0) |
| 990 | 如果非saved_tf则flags与等于X86_EFLAGS_TF的反 |
| 993 | 返回:err |
| 名称 | 描述 |
|---|---|
| handle_singlestep | Perform required fix-ups and disable singlestep.* Allow pending signals to take effect. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |