This is the stack view that I'm getting in radare2 after entering the visual panel mode:
This is the view from immunity debugger:
How can I get a view similar to immunity debugger in radare2?
This is the stack view that I'm getting in radare2 after entering the visual panel mode:
This is the view from immunity debugger:
How can I get a view similar to immunity debugger in radare2?
You have several ways to print the stack. The specific way that you're searching for is called Stack Telescoping and you can print it like this:
pxr @ esp
Use sp, esp, and rsp according to your system.
pxr stands for Print heXadecimal References, you can see its description by using px?:
[0x7f8a672ee4]> px?
<...truncated...>
pxr[j] show words with references to flags and code
Here are some other options to print the stack using radare2:
pxa @ rsp - to show annotated hexdumppxw @ rsp - to show hexadecimal words dump (32bit)pxq @ rsp - to show hexadecimal quad-words dump (64bit)ad@r:SP - to analyze the stack data
v!) -- check out my answer here. If you want a view similar to PEDA's you can usee dbg.slow = trueand then useVpp. That's way you'll see a Visual Mode as well as Stack Telescoping. – Megabeets Nov 26 '17 at 15:50pxr 20r:SP– Solidak Aug 13 '18 at 07:20