函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_current_kprobe

函数原型:static inline __attribute__((__always_inline__)) void set_current_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb)

返回类型:void

参数:

类型参数名称
struct kprobe *p
struct pt_regs *regs
struct kprobe_ctlblk *kcb
542  __this_cpu_write(current_kprobe, p)
543  kprobe_saved_flags等于kprobe_old_flags等于flags按位与X86_EFLAGS_TF按位或X86_EFLAGS_IF的值
545  如果if_modifierkprobe_saved_flags与等于X86_EFLAGS_IF的反
调用者
名称描述
setup_singlestep
kprobe_int3_handlerInterrupts are disabled on entry as trap3 is an interrupt gate and they* remain disabled throughout this function.