Function report |
Source Code:arch\x86\kernel\ptrace.c |
Create Date:2022-07-28 07:51:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Handle PTRACE_PEEKUSR calls for the debug register area.
Proto:static unsigned long ptrace_get_debugreg(struct task_struct *tsk, int n)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| int | n |
| 630 | thread = * New fields for task_struct should be added above here, so that * they are included in the randomized portion of task_struct. |
| 631 | val = 0 |
| 633 | If n < Total number of available HW breakpoint registers Then |
| 639 | Else if n == 6 Then |
| 641 | Else if n == 7 Then |
| 644 | Return val |
| Name | Describe |
|---|---|
| arch_ptrace |
| 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 |