Created
May 24, 2015 04:36
-
-
Save TheBuzzSaw/5d330456a306dcd2ee8b to your computer and use it in GitHub Desktop.
yay hackery
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
| void stackDump() | |
| { | |
| const unsigned char* n; | |
| n = (const unsigned char*)&n; | |
| cout << "fail function: " << (void*)fail << endl; | |
| for (int i = 0; i < 64; ++i) | |
| { | |
| cout << '[' << i << "] " << (void*)n << " --"; | |
| for (int j = 0; j < 8; ++j) | |
| { | |
| cout << hex << ' ' << (int)(*n) << "(" << *n << ")"; | |
| ++n; | |
| } | |
| cout << dec << '\n'; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment