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