Created
September 11, 2014 16:20
-
-
Save m13253/98a2a7cf4a3ca86e1c38 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Geordi memory dumper | |
| geordi: {size_t s=0x400000;printf("0x%08zx: ",s);for(size_t p=s;p<s+64;p++){unsigned char c=*(const unsigned char *)p;printf((c>31&&c<127)?"%c":"\\x%02x",c);}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment