| 函数逻辑报告 | 
| Source Code: arch\x86\kernel\ptrace.c | Create Date:2022-07-27 08:51:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Handle ptrace writes to debug register 7.
函数原型:static int ptrace_write_dr7(struct task_struct *tsk, unsigned long data)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct task_struct * | tsk | |
| unsigned long | data | 
| 579 | thread等于* New fields for task_struct should be added above here, so that * they are included in the randomized portion of task_struct. | 
| 581 | bool second_pass = false | 
| 582 | ret等于0 | 
| 585 | old_dr7等于Walk through every ptrace breakpoints for this thread and* build the dr7 value on top of their attributes. | 
| 587 | restore : | 
| 588 | rc等于0 | 
| 591 | disabled等于非Decode the length and type bits for a particular breakpoint as* stored in debug register 7. Return the "enabled" status. | 
| 594 | 如果非bp则 | 
| 615 | 如果rc且非WARN_ON(second_pass)则 | 
| 622 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| ptrace_set_debugreg | Handle PTRACE_POKEUSR calls for the debug register area. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |