Created
September 11, 2018 00:08
-
-
Save Wenzel/27c0290d325f9530dcc70c939a35aa93 to your computer and use it in GitHub Desktop.
Show a bug in radare2 handling of hardware breakpoints
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e dbg.hwbp=true | |
echo printing 10 opcodes | |
pd 10 | |
echo setting breakpoint on next opcode | |
so 1 | |
db $$ | |
echo printing 10 opcodes, with breakpoint | |
pd 10 | |
echo continue execution | |
dc | |
echo printing 10 opcodes, we missed the hardware breakpoint | |
pd 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment