wip removal of unused methods based on execution from init.

This commit is contained in:
Adam
2015-06-27 23:47:43 -04:00
parent dfcc41b41c
commit d9f4d257a5
13 changed files with 161 additions and 107 deletions

View File

@@ -41,6 +41,7 @@ public class Deob
ClassGroup group = loadJar(args[0]);
/*
// remove except RuntimeException
new RuntimeExceptions().run(group);
@@ -48,18 +49,19 @@ public class Deob
new IllegalStateExceptions().run(group);
// remove code blocks that used to be the runtime exception handlers
new UnusedBlocks().run(group);
new UnusedBlocks().run(group);*/
// remove unused methods
new UnusedMethods().run(group);
/*
// remove unused parameters
new UnusedParameters().run(group);
// remove jump obfuscation
new Jumps().run(group);
new ModularArithmeticDeobfuscation().run(group);
new ModularArithmeticDeobfuscation().run(group);*/
saveJar(group, args[1]);