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

Name:We have to fix things up as follows:* Typically, the new ip is relative to the copied instruction

Proto:static int default_post_xol_op(struct arch_uprobe *auprobe, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct arch_uprobe *auprobe
struct pt_regs *regs
555  utask = utask
557  riprel_post_xol(auprobe, regs)
558  If fixups & Adjust IP back to vicinity of actual insn Then
559  correction = vaddr - xol_vaddr
560  Return frame for iretq += correction
561  Else if fixups & Adjust the return address of a call insn Then
562  sp += sizeof_long(regs)
563  If emulate_push_stack(regs, vaddr + ilen) Then Return -ERESTART
567  If fixups & Instruction will modify TF, don't change it Then saved_tf = true
570  Return 0