函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:08:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Perform required fix-ups and disable singlestep.* Allow pending signals to take effect.
函数原型:static void handle_singlestep(struct uprobe_task *utask, struct pt_regs *regs)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct uprobe_task * | utask | |
struct pt_regs * | regs |
2262 | err等于0 |
2264 | uprobe等于active_uprobe |
2269 | 否则WARN_ON_ONCE(1) |
2272 | put_uprobe(uprobe) |
2273 | active_uprobe = NULL |
2274 | state等于UTASK_RUNNING |
2277 | spin_lock_irq( & siglock) |
2278 | 确定进程等待信号 |
2279 | spin_unlock_irq( & siglock) |
2281 | 如果此条件成立可能性小(为编译器优化)(err)则 |
2282 | uprobe_warn(当前进程, "execute the probed insn, sending SIGILL.") |
名称 | 描述 |
---|---|
uprobe_notify_resume | On breakpoint hit, breakpoint notifier sets the TIF_UPROBE flag and* allows the thread to return from interrupt. After that handle_swbp()* sets utask->active_uprobe.* On singlestep exception, singlestep notifier sets the TIF_UPROBE flag |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |