Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| struct arch_uprobe * | auprobe | |
| struct pt_regs * | regs |
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |