7

I am new to radare2 and Linux. I got problem with r2.

As the title states it, many tutorials, articles, videos about r2 are just about disassembling programs, and read assembly codes. But, I want debug my programs.

I search on the web and on GitHub... But did not find anything meaningful (or maybe I did miss it).

I would like to know if somebody could tell me how to run the debugger in r2.

1
  • you need to be a bit more specific about what exactly you want to do, otherwise this question is likely to be closed. Commented Oct 29, 2015 at 15:14

1 Answer 1

10

Go to archives of hack.lu conference here.

You can find there Radare2 workshop materials. There are some mentions of debugging there.

In addition you have a radare 2 book, see basic debugging session chapter. I'd suggest to read all the book and workshop materials.

3
  • thanks, im so noob, just add -d as parameter, r2 will run in debug mode. I have one more problem: can u guide me use radeco and add it to r2?
    – hachzz
    Commented Oct 29, 2015 at 15:10
  • As far as I know it doesn't decompile yet, it just creates dependency graphs. Use retdec plugin, you can install it with r2pm.
    – w s
    Commented Oct 29, 2015 at 15:53
  • radare2 book has moved here
    – milahu
    Commented Feb 10 at 18:05

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.