函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:arch_uprobe_pre_xol - prepare to execute out of line.*@auprobe: the probepoint information.*@regs: reflects the saved user state of current task.

函数原型:int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
struct arch_uprobe *auprobe
struct pt_regs *regs
914  utask等于utask
916  如果pre_xol
917  err等于pre_xol(auprobe, regs)
918  如果err则返回:err
922  Return frame for iretq 等于xol_vaddr
923  saved_trap_nr等于trap_nr
924  trap_nr等于UPROBE_TRAP_NR
926  saved_tf等于非非flags按位与X86_EFLAGS_TF的值
927  flags或等于X86_EFLAGS_TF
928  如果test_tsk_thread_flag(当前进程, set when we want DEBUGCTLMSR_BTF )则set_task_blockstep(当前进程, false)
931  返回:0
调用者
名称描述
pre_ssoutPrepare to single-step probed instruction out of line.