函数逻辑报告 |
Source Code:arch\x86\kernel\process.c |
Create Date:2022-07-27 08:48:40 |
Last Modify:2020-03-16 17:03:44 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:copy_thread_tls
函数原型:int copy_thread_tls(unsigned long clone_flags, unsigned long sp, unsigned long arg, struct task_struct *p, unsigned long tls)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | clone_flags | |
unsigned long | sp | |
unsigned long | arg | |
struct task_struct * | p | |
unsigned long | tls |
131 | ret等于0 |
133 | childregs等于task_pt_regs(p) |
137 | These two fields must be together. They form a stack frame header,* needed by get_frame_pointer().等于0 |
138 | ret_addr等于ret_from_fork |
139 | sp等于fork_frame |
140 | IO permissions: = NULL |
141 | memset( Save middle states of ptrace breakpoints , 0, Save middle states of ptrace breakpoints 的长度) |
162 | 如果此条件成立可能性小(为编译器优化)(任务标志 & I am a kernel thread )则 |
168 | bx等于0 |
169 | childregs等于current_pt_regs() |
170 | ax等于0 |
179 | 如果clone_flags按位与独立的TLS则ret等于set_new_tls(p, tls) |
185 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |