函数逻辑报告 |
Source Code:kernel\ptrace.c |
Create Date:2022-07-27 10:13:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:compat_ptrace_request
函数原型:int compat_ptrace_request(struct task_struct *child, compat_long_t request, compat_ulong_t addr, compat_ulong_t data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | child | |
compat_long_t | request | |
compat_ulong_t | addr | |
compat_ulong_t | data |
1320 | 当:request恒等于PTRACE_PEEKTEXT |
1321 | 当:request恒等于PTRACE_PEEKDATA |
1322 | ret等于Access another process' address space via ptrace.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages |
1328 | 退出 |
1330 | 当:request恒等于PTRACE_POKETEXT |
1331 | 当:request恒等于PTRACE_POKEDATA |
1332 | ret等于Access another process' address space via ptrace.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages |
1335 | 退出 |
1337 | 当:request恒等于PTRACE_GETEVENTMSG |
1339 | 退出 |
1341 | 当:request恒等于PTRACE_GETSIGINFO |
1342 | ret等于ptrace_getsiginfo(child, & siginfo) |
1343 | 如果非ret则ret等于copy_siginfo_to_user32((structcompat_siginfo__user * )datap, & siginfo) |
1347 | 退出 |
1349 | 当:request恒等于PTRACE_SETSIGINFO |
1350 | ret等于copy_siginfo_from_user32( & siginfo, (structcompat_siginfo__user * )datap) |
1352 | 如果非ret则ret等于ptrace_setsiginfo(child, & siginfo) |
1354 | 退出 |
1382 | 默认 |
1386 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |