Function report |
Source Code:arch\x86\kernel\kprobes\core.c |
Create Date:2022-07-28 08:38:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Interrupts are disabled on entry as trap1 is an interrupt gate and they* remain disabled throughout this function.
Proto:int kprobe_debug_handler(struct pt_regs *regs)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pt_regs * | regs |
| 981 | kcb = get_kprobe_ctlblk() |
| 983 | If Not cur Then Return 0 |
| 987 | flags |= kprobe_saved_flags |
| 989 | If kprobe_status != KPROBE_REENTER && Called after addr is executed, unless... Then |
| 991 | Called after addr is executed, unless... (cur, regs, 0) |
| 995 | If kprobe_status == KPROBE_REENTER Then |
| 997 | Go to out |
| 999 | reset_current_kprobe() |
| 1000 | out : |
| 1006 | If flags & X86_EFLAGS_TF Then Return 0 |
| 1009 | Return 1 |
| 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 |