函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Called after single-stepping. To avoid the SMP problems that can* occur when we temporarily put back the original opcode to* single-step, we single-stepped a copy of the instruction.* This function prepares to resume execution after the single-step.

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

返回类型:int

参数:

类型参数名称
struct arch_uprobe *auprobe
struct pt_regs *regs
961  utask等于utask
962  send_sigtrap等于saved_tf
963  err等于0
965  WARN_ON_ONCE(trap_nr != UPROBE_TRAP_NR)
966  trap_nr等于saved_trap_nr
968  如果post_xol
969  err等于post_xol(auprobe, regs)
970  如果err
977  如果err恒等于负ERESTARTerr等于0
979  send_sigtrap = false
987  如果send_sigtrapsend_sig(SIGTRAP, 当前进程, 0)
990  如果非saved_tfflags与等于X86_EFLAGS_TF的反
993  返回:err
调用者
名称描述
handle_singlestepPerform required fix-ups and disable singlestep.* Allow pending signals to take effect.