函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:send_sigtrap

函数原型:void send_sigtrap(struct pt_regs *regs, int error_code, int si_code)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
interror_code
intsi_code
1353  tsk等于当前进程
1355  trap_nr等于X86_TRAP_DB
1356  error_code等于error_code
1359  force_sig_fault(SIGTRAP, si_code, ser_mode(regs) determines whether a register set came from user* mode ? (void__user * )ip : NULL)
调用者
名称描述
user_single_step_report
do_debugOur handling of the processor debug registers is non-trivial.* We do not clear them on entry and exit from the kernel. Therefore* it is possible to get a watchpoint trap here from inside the kernel.* However, the code in