Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:46:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:probe_get_swbp_addr - compute address of swbp given post-swbp regs*@regs: Reflects the saved state of the task after it has hit a breakpoint* instruction.* Return the address of the breakpoint instruction.

Proto:unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs)

Type:unsigned long

Parameter:

TypeParameterName
struct pt_regs *regs
1693  Return instruction_pointer(regs) - UPROBE_SWBP_INSN_SIZE
Caller
NameDescribe
handle_swbpRun handler and ask thread to singlestep.* Ensure all non-fatal signals cannot interrupt thread while it singlesteps.