arm hardware breakpoint 与 watchpoint 原理

aarch32 linux4.9

kernel 有breakpoint的编码实例data_breakpoint.c

相关函数:

register_wide_hw_breakpoint //kernel space 地址

register_user_hw_breakpoint //user space 地址

breakpoint 与 watchpoint 的原理需要查阅armv7_architecture_reference_manual

watchpoint:If the cause of the debug exception is a Watchpoint debug event, then a Data Abort exception is generated

猜你喜欢

转载自blog.csdn.net/shenhuxi_yu/article/details/83155106
今日推荐