Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\uprobes.c Create Date:2022-07-28 08:47:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:bool arch_uprobe_xol_was_trapped(struct task_struct *t)

Type:bool

Parameter:

TypeParameterName
struct task_struct *t
946  If trap_nr != UPROBE_TRAP_NR Then Return true
949  Return false