函数逻辑报告 |
Source Code:kernel\ptrace.c |
Create Date:2022-07-27 10:13:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:COMPAT_SYSCALL_DEFINE4
函数原型:COMPAT_SYSCALL_DEFINE4(ptrace, compat_long_t, request, compat_long_t, pid, compat_long_t, addr, compat_long_t, data)
返回类型:
参数:无
1396 | ret等于ptrace_traceme -- helper for PTRACE_TRACEME* Performs checks and sets PT_PTRACED.* Should be used by all ptrace implementations for PTRACE_TRACEME. |
1397 | 转到:out |
1401 | 如果非child则 |
1406 | 如果(request == PTRACE_ATTACH || request == PTRACE_SEIZE)则 |
1412 | 如果非ret则arch_ptrace_attach(child) |
1414 | 转到:out_put_task_struct |
1419 | 如果非ret则 |
1421 | 如果(ret || request != PTRACE_DETACH)则ptrace_unfreeze_traced(child) |
1425 | out_put_task_struct : |
1426 | put_task_struct(child) |
1427 | out : |
1428 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |