函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kprobes\core.c Create Date:2022-07-27 09:37:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Interrupts are disabled on entry as trap3 is an interrupt gate and they* remain disabled throughout this function.

函数原型:int kprobe_int3_handler(struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
struct pt_regs *regs
664  如果ser_mode(regs) determines whether a register set came from user* mode则返回:0
667  addr等于ipsizeof(kprobe_opcode_t)
674  kcb等于get_kprobe_ctlblk()
675  p等于Get the kprobe at this addr (if any) - called with preemption disabled
677  如果p
681  否则
694  否则reset_current_kprobe()
696  返回:1
698  否则如果addr不等于BREAKPOINT_INSTRUCTION
708  ip等于addr
709  返回:1
712  返回:0
调用者
名称描述
do_int3