Could anyone tell me the basic steps and most used radare2 commands for debugging a hang x86 application to find the source of the hang?
I know this question may sound a bit broad but I don't know where to learn this better than here.
Reverse Engineering Stack Exchange is a question and answer site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation. It only takes a minute to sign up.Sign up to join this community
You just have to attach to the hanging process as follow:
$ pidof myhangingprocess 32220 $ r2 -d 32220
And, that should start a radare2 session on the program you are inspecting. But, for debugging, I would greatly prefer to use
gdb (radare2 is a good tool for reverse-engineering but not really for debugging).