aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator/test/obfuscator-tee
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-12-16 13:31:54 +0000
committerbloodstalker <thabogre@gmail.com>2017-12-16 13:31:54 +0000
commit453ccbcb228b7f39adf087bfe955c770e4640f64 (patch)
tree730b6b5fbcf8e7aaf65df822ac2c8c70417f3dd2 /obfuscator/test/obfuscator-tee
parentwip, added methods for dealing with filename changes to obfuscator (diff)
downloadmutator-453ccbcb228b7f39adf087bfe955c770e4640f64.tar.gz
mutator-453ccbcb228b7f39adf087bfe955c770e4640f64.zip
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
Diffstat (limited to 'obfuscator/test/obfuscator-tee')
-rw-r--r--obfuscator/test/obfuscator-tee68
1 files changed, 68 insertions, 0 deletions
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 <fstream>
+#include <iostream>
+#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();
+}