Function report |
Source Code:arch\x86\kernel\step.c |
Create Date:2022-07-28 07:52:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:is_setting_trap_flag
Proto:static int is_setting_trap_flag(struct task_struct *child, struct pt_regs *regs)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | child | |
| struct pt_regs * | regs |
| 60 | addr = convert_ip_to_linear(child, regs) |
| 62 | copied = access_process_vm(child, addr, opcode, size of opcode , get_user_pages read/write w/o permission ) |
| 68 | Return 1 |
| 74 | Continue |
| 80 | Continue |
| 84 | If Not user_64bit_mode(regs) Then Return 0 |
| 88 | Continue |
| 101 | Default |
| 102 | Return 0 |
| 105 | Return 0 |
| Name | Describe |
|---|---|
| enable_single_step | Enable single-stepping. Return nonzero if user mode is not using TF itself. |
| 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 |