函数逻辑报告 |
Source Code:arch\x86\kernel\ptrace.c |
Create Date:2022-07-27 08:51:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ptrace_set_breakpoint_addr
函数原型:static int ptrace_set_breakpoint_addr(struct task_struct *tsk, int nr, unsigned long addr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
int | nr | |
unsigned long | addr |
650 | t等于* New fields for task_struct should be added above here, so that * they are included in the randomized portion of task_struct. |
652 | err等于0 |
654 | 如果非bp则 |
666 | bp等于ptrace_register_breakpoint(tsk, X86_BREAKPOINT_LEN_1, rigger on memory write , addr, true) |
671 | 否则 Save middle states of ptrace breakpoints [nr]等于bp |
673 | 否则 |
680 | 返回:err |
名称 | 描述 |
---|---|
ptrace_set_debugreg | Handle PTRACE_POKEUSR calls for the debug register area. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |