函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:We have reentered the kprobe_handler(), since another probe was hit while* within the handler. We save the original kprobes variables and just single* step on the instruction of the new probe without calling any user handlers.

函数原型:static int reenter_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb)

返回类型:int

参数:

类型参数名称
struct kprobe *p
struct pt_regs *regs
struct kprobe_ctlblk *kcb
628  :kprobe_status恒等于KPROBE_HIT_SSDONE
629  :kprobe_status恒等于kprobe_status settings
630  :kprobe_status恒等于KPROBE_HIT_SS
631  kprobes_inc_nmissed_count(p)
632  setup_singlestep(p, regs, kcb, 1)
633  退出
634  :kprobe_status恒等于KPROBE_REENTER
641  打印错误信息("Unrecoverable kprobe detected.\n")
642  dump_kprobe(p)
643  BUG()
644  默认
646  WARN_ON(1)
647  返回:0
650  返回:1
调用者
名称描述
kprobe_int3_handlerInterrupts are disabled on entry as trap3 is an interrupt gate and they* remain disabled throughout this function.