函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs)

返回类型:unsigned long

参数:

类型参数名称
struct pt_regs *regs
1693  返回:instruction_pointer(regs)减UPROBE_SWBP_INSN_SIZE
调用者
名称描述
handle_swbpRun handler and ask thread to singlestep.* Ensure all non-fatal signals cannot interrupt thread while it singlesteps.