px[?][owq] [len]
hexdump of N bytes (o=octal, w=32bit, q=64bit)
Usage: px[0afoswqWqQ][f] # Print heXadecimal
Tips
-
Use
px
to print memory. Example:px 8 @ esp+4
px
⭐ show hexdump-
Screenshot
-
px/
same as x/ in gdb (help x) px0
8bit hexpair list of bytes until zero bytepxa
show annotated hexdump-
Screenshot
-
pxA
show op analysis color map pxb
dump bits in hexdump formpxc
show hexdump with commentspxd[124]
signed integer dump (1 byte, 2 and 4)pxe
🚀 emoji hexdump! :) asciinemapxf
show hexdump of current functionpxh
show hexadecimal half-words dump (16bit)pxH
same as above, but one per linepxi
HexII compact binary representationpxl
display N lines (rows) of hexdumppxo
show octal dumppxq
show hexadecimal quad-words dump (64bit)pxQ
same as above, but one per linepxr[j]
show words with references to flags and code-
Alternatively, consider using
afvd
-
pxr @ esp
stack analysis. This is also memory telescoping -
Screenshot
Green/Blue is executable, Red is data White is value?
-
pxs
show hexadecimal in sparse mode pxt[*.] [origin]
show delta pointer table in r2 commandspxw
show hexadecimal words dump (32bit)-
The colors in
pxw
are: yellow: printable chars, red: pointer to executable are, blue: data
-
-
Screenshot
-
pxW
same as above, but one per line -
Screenshot
-
pxx
show N bytes of hex-less hexdump pxX
show 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