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

Name:scratch_reg

Proto:static inline unsigned long *scratch_reg(struct arch_uprobe *auprobe, struct pt_regs *regs)

Type:unsigned long

Parameter:

TypeParameterName
struct arch_uprobe *auprobe
struct pt_regs *regs
458  If fixups & UPROBE_FIX_RIP_SI Then Return si
460  If fixups & UPROBE_FIX_RIP_DI Then Return di
462  Return bx
Caller
NameDescribe
riprel_pre_xolIf we're emulating a rip-relative instruction, save the contents* of the scratch register and store the target address in that register.
riprel_post_xol