函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:scratch_reg

函数原型:static inline unsigned long *scratch_reg(struct arch_uprobe *auprobe, struct pt_regs *regs)

返回类型:unsigned long

参数:

类型参数名称
struct arch_uprobe *auprobe
struct pt_regs *regs
458  如果fixups按位与UPROBE_FIX_RIP_SI则返回:si
460  如果fixups按位与UPROBE_FIX_RIP_DI则返回:di
462  返回:bx
调用者
名称描述
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