According to documentation,

px[?][owq] [len]    hexdump of N bytes (o=octal, w=32bit, q=64bit)


pr[?][glx] [len]    print N raw bytes (in lines or hexblocks, 'g'unzip)

These two commands are how you see the bytes at a certain address in radare2.

Here is the top of my stack in radare2:

top of stack

When I want to print out the 8 bytes RSP is pointing to by typing pxq @ rsp, I only get the last two bytes. See here:

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.