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
| #include <iostream> | |
| #include <sstream> | |
| #include <fstream> | |
| /* Serialize a function by writing out a pointer to its location in memory. | |
| * This will only work between two processes running identical binaries. | |
| * | |
| * One difficulty is ASLR: | |
| * Address space layout randomization (ASLR) puts functions in a different | |
| * place in memory everytime a program is loaded. Within a given binary |