函数逻辑报告 |
Source Code:include\linux\tracehook.h |
Create Date:2022-07-27 08:29:23 |
Last Modify:2020-03-16 18:56:00 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ptrace report for syscall entry and exit looks identical.
函数原型:static inline int ptrace_report_syscall(struct pt_regs *regs, unsigned long message)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pt_regs * | regs | |
unsigned long | message |
62 | 如果非ptrace按位与PT_PTRACED的值则返回:0 |
66 | ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0)) |
73 | 如果exit_code则 |
78 | ptrace_message等于0 |
79 | 返回:fatal_signal_pending(当前进程) |
名称 | 描述 |
---|---|
tracehook_report_syscall_entry | racehook_report_syscall_entry - task is about to attempt a system call*@regs: user register state of current task* This will be called if %TIF_SYSCALL_TRACE or %TIF_SYSCALL_EMU have been set, |
tracehook_report_syscall_exit | racehook_report_syscall_exit - task has just finished a system call*@regs: user register state of current task*@step: nonzero if simulating single-step or block-step* This will be called if %TIF_SYSCALL_TRACE has been set, when the |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |