| Function report | 
| Source Code: arch\x86\kernel\ptrace.c | Create Date:2022-07-28 07:51:47 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ptrace_set_breakpoint_addr
Proto:static int ptrace_set_breakpoint_addr(struct task_struct *tsk, int nr, unsigned long addr)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | If Not bp Then | 
| 666 | bp = ptrace_register_breakpoint(tsk, X86_BREAKPOINT_LEN_1, rigger on memory write , addr, true) | 
| 671 | Else Save middle states of ptrace breakpoints [nr] = bp | 
| 673 | Else | 
| 680 | Return err | 
| Name | Describe | 
|---|---|
| ptrace_set_debugreg | Handle PTRACE_POKEUSR calls for the debug register area. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |