9

I recently start to use radare2 and I have a question How can I print info about the heap with dmhb dmhf etc. while debugging ? I would like to have the heap informations on the right and the disassembly view on the left but I don't know how to do it .

When I launch these commands it prints below the disassembly view...

1 Answer 1

10

You can use | or = in Visual Mode to split horizontally and vertically respectively.

Open your file in debug mode and go to Visual Mode by pressing V, then press p until you reach the assembly view:

$ r2 -d program
[0xf7799b30]> V

Then press | and you'll be able to configure cmd.cprompt. Write the command that you wish to see in the right pane of the screen.

Alternatively you can configure it using e cmd.cprompt=<your_command> or e cmd.vprompt=<your_command> from the terminal.

1
  • You are absolutely welcome! :)
    – Megabeets
    Commented Oct 2, 2017 at 6:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.