Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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()
675  p = Get the kprobe at this addr (if any) - called with preemption disabled
677  If p Then
681  Else
694  Else reset_current_kprobe()
696  Return 1
698  Else if addr != BREAKPOINT_INSTRUCTION Then
708  ip = addr
709  Return 1
712  Return 0