函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:We have to fix things up as follows:* Typically, the new ip is relative to the copied instruction

函数原型:static int default_post_xol_op(struct arch_uprobe *auprobe, struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
struct arch_uprobe *auprobe
struct pt_regs *regs
555  utask等于utask
557  riprel_post_xol(auprobe, regs)
558  如果fixups按位与Adjust IP back to vicinity of actual insn
559  correction等于vaddrxol_vaddr
560  Return frame for iretq 加等于correction
561  否则如果fixups按位与Adjust the return address of a call insn
562  sp加等于sizeof_long(regs)
563  如果emulate_push_stack(regs, vaddr + ilen)则返回:负ERESTART
567  如果fixups按位与Instruction will modify TF, don't change it saved_tf = true
570  返回:0