Created
July 5, 2014 20:11
-
-
Save elazarl/f99c5b52b3058d221fb9 to your computer and use it in GitHub Desktop.
hexdump to dump memory in gdb's format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gdbdump='hexdump -e '\''"0x%04_ax: " 8/1 "0x%02x\t" "\n"'\''' | |
# hexdump format is: '"0x%04_ax: " 8/1 "0x%02x\t" "\n"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment