函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:If xol insn itself traps and generates a signal(Say,* SIGILL/SIGSEGV/etc), then detect the case where a singlestepped* instruction jumps back to its own address. It is assumed that anything* like do_page_fault/do_trap/etc sets thread.trap_nr != -1.

函数原型:bool arch_uprobe_xol_was_trapped(struct task_struct *t)

返回类型:bool

参数:

类型参数名称
struct task_struct *t
946  如果trap_nr不等于UPROBE_TRAP_NR则返回:true
949  返回:false
调用者
名称描述
uprobe_deny_signalIf we are singlestepping, then ensure this thread is not connected to* non-fatal signals until completion of singlestep. When xol insn itself* triggers the signal, restart the original insn even if the task is