Function report | 
Source Code:arch\x86\kernel\kprobes\core.c | 
Create Date:2022-07-28 08:38:41 | 
| 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 trap3 is an interrupt gate and they* remain disabled throughout this function.
Proto:int kprobe_int3_handler(struct pt_regs *regs)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct pt_regs * | regs | 
| 664 | If ser_mode(regs) determines whether a register set came from user* mode Then Return 0 | 
| 667 | addr = ip - sizeof(kprobe_opcode_t) | 
| 674 | kcb = get_kprobe_ctlblk() | 
| 677 | If p Then | 
| 681 | Else | 
| 682 | set_current_kprobe(p, regs, kcb) | 
| 692 | If Not Called before addr is executed. || Not Called before addr is executed. (p, regs) Then setup_singlestep(p, regs, kcb, 0) | 
| 694 | Else reset_current_kprobe() | 
| 696 | Return 1 | 
| 698 | Else if addr != BREAKPOINT_INSTRUCTION Then | 
| 712 | Return 0 | 
| 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  |