px[?][owq] [len] hexdump of N bytes (o=octal, w=32bit, q=64bit)
Usage: px[0afoswqWqQ][f] # Print heXadecimal
Tips
-
Use
pxto print memory. Example:px 8 @ esp+4
px⭐ show hexdump-
Screenshot

-
px/same as x/ in gdb (help x) px08bit hexpair list of bytes until zero bytepxashow annotated hexdump-
Screenshot

-
pxAshow op analysis color map pxbdump bits in hexdump formpxcshow hexdump with commentspxd[124]signed integer dump (1 byte, 2 and 4)pxe🚀 emoji hexdump! :) asciinemapxfshow hexdump of current functionpxhshow hexadecimal half-words dump (16bit)pxHsame as above, but one per linepxiHexII compact binary representationpxldisplay N lines (rows) of hexdumppxoshow octal dumppxqshow hexadecimal quad-words dump (64bit)pxQsame as above, but one per linepxr[j]show words with references to flags and code-
Alternatively, consider using
afvd -
pxr @ espstack analysis. This is also memory telescoping -
Screenshot
Green/Blue is executable, Red is data White is value?

-
pxsshow hexadecimal in sparse mode pxt[*.] [origin]show delta pointer table in r2 commandspxwshow hexadecimal words dump (32bit)-
The colors in
pxware: yellow: printable chars, red: pointer to executable are, blue: data
-
-
Screenshot

-
pxWsame as above, but one per line -
Screenshot

-
pxxshow N bytes of hex-less hexdump pxXshow N words of hex-less hexdump
px px0 pxa pxA pxb pxc pxd pxe pxf pxh pxH pxi pxl pxo pxq pxQ pxr pxs pxt pxw pxW pxx pxX