I am using radare2 in debugging mode (r2 -d ./program).
I set up a breakpoint at a certain address (db 0x12341234
)
And next I have entered Visual View using: V!
Following some tutorials, I saw them using 's
' to switch to the next instruction, but that isn't working for me.
Also this is not working:
Maybe a simpler method to use debugger in radare is to switch it to visual mode. That way you will not have to remember many commands nor to keep program state in your mind. To enter visual mode use
V
:[0xB7F0C8C0]> V
The initial view after entering visual mode is a hexdump view of current target program counter (e.g., EIP for x86). Pressing
p
will allow you to cycle through the rest of visual mode views. You can pressp
andP
to rotate through the most commonly used print modes. Use F7 or s to step into and F8 orS
to step over current instruction. With thec
key you can toggle the cursor mode to mark a byte range selection (for example, to later overwrite them withnop
). You can set breakpoints with F2 key.
Any key I would press does nothing. Am I missing something or?
I am talking about this view.