Skip to content

Instantly share code, notes, and snippets.

@Wenzel
Created September 11, 2018 00:08
Show Gist options
  • Save Wenzel/27c0290d325f9530dcc70c939a35aa93 to your computer and use it in GitHub Desktop.
Save Wenzel/27c0290d325f9530dcc70c939a35aa93 to your computer and use it in GitHub Desktop.
Show a bug in radare2 handling of hardware breakpoints
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