From 453ccbcb228b7f39adf087bfe955c770e4640f64 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 16 Dec 2017 17:01:54 +0330 Subject: obfuscator should handle macro expansions just fine now, also there was no rewriter for macro expansion so added one and added a test folder for obfuscator, also added a new method for getting the spellingloc to aux methods --- obfuscator/test/obfuscator-tee | 68 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 obfuscator/test/obfuscator-tee (limited to 'obfuscator/test/obfuscator-tee') diff --git a/obfuscator/test/obfuscator-tee b/obfuscator/test/obfuscator-tee new file mode 100644 index 0000000..7fc775f --- /dev/null +++ b/obfuscator/test/obfuscator-tee @@ -0,0 +1,68 @@ + +#if 0 +#include +#include +#endif + +int ID7143433513913994171(void) { + return 123; +} + +int ID806107362239807644(int ID6414370376350317282, int ID5596922551969966689) { + return ID6414370376350317282 + ID5596922551969966689; +} + +#define ID17270913437327947952 1 +#define ID3990433166784345791 int + +#define ID13091842907427809651 3.14 + +#define ID8553886278371731254 int ID6457201339852078238 +#define ID5893689362230717210 int ID17001300751847036766 + +namespace devi +{ + class ID3351929323710182842 + { + public: + ID3351929323710182842 () {} + + void ID5560374959326430988 (void) + { + int ID4993892634952068459 = 1; + int ID10838281452030117757 = 2; + int ID10959529184379665549 = 3; + } + }; +} + +int main(int ID3701972582333163920, const char **ID14643508047410943861) +{ + /***hya**/ + /* + * + * */ + // /**/ + int ID17697423301731741216; // this one + int ID3227026850925696272; /* + * + */ + /* "//" \\ \\\\ // */ + //std::cout << "//" << "/**/" << "\n"; + int/***/ ID5827489293749552374; +#if 0 + std::ofstream myfile; + myfile.open("./touch"); + myfile << "line one.\n"; + myfile.close(); +#endif + int ID468926534229516570 = 100; + int ID1567269223287109631 = 28; + + ID8553886278371731254; + ID5893689362230717210; + ID806107362239807644(ID6457201339852078238, ID17001300751847036766); + return ID806107362239807644(ID468926534229516570, ID1567269223287109631); + + //return return123(); +} -- cgit v1.2.3