函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Dump the debug register contents to the user.* We can't dump our per cpu values because it* may contain cpu wide breakpoint, something that* doesn't belong to the current task.* TODO: include non-ptrace user breakpoints (perf)

函数原型:void aout_dump_debugregs(struct user *dump)

返回类型:void

参数:

类型参数名称
struct user *dump
369  dr7等于0
372  thread等于thread
374 i小于Total number of available HW breakpoint registers 循环
375  bp等于 Save middle states of ptrace breakpoints [i]
377  如果bp且非disabled
378  u_debugreg[i]等于bp_addr
379  info等于counter_arch_bp(bp)
381  否则
382  u_debugreg[i]等于0
386  u_debugreg[4]等于0
387  u_debugreg[5]等于0
388  u_debugreg[6]等于debugreg6
390  u_debugreg[7]等于dr7