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:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:allback routine for handling exceptions.

Proto:int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val, void *data)

Type:int

Parameter:

TypeParameterName
struct notifier_block *self
unsigned longval
void *data
999  args = data
1000  regs = regs
1001  ret = Don't care
1004  If regs && Not ser_mode(regs) determines whether a register set came from user* mode Then Return Don't care
1008  Case val == DIE_INT3
1009  If uprobe_pre_sstep_notifier(regs) Then ret = Clean way to return from the notifier and stop further calls.
1012  Break
1014  Case val == DIE_DEBUG
1015  If uprobe_post_sstep_notifier(regs) Then ret = Clean way to return from the notifier and stop further calls.
1018  Default
1019  Break
1022  Return ret