Basic multi arith, need to rewrite

This commit is contained in:
Adam
2015-09-20 13:40:59 -04:00
parent 4d21fe7daf
commit ec86f0bee6
2 changed files with 7 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ import net.runelite.deob.deobfuscators.UnusedFields;
import net.runelite.deob.deobfuscators.UnusedMethods;
import net.runelite.deob.deobfuscators.UnusedParameters;
import net.runelite.deob.deobfuscators.arithmetic.ModArith;
import net.runelite.deob.deobfuscators.arithmetic.MultiplicationDeobfuscator;
import net.runelite.deob.execution.Execution;
//move static methods
@@ -86,7 +87,9 @@ public class Deob
//
// run(group, new UnusedClass());
new ModArith().run(group);
//new ModArith().run(group);
new MultiplicationDeobfuscator().run(group);
saveJar(group, args[1]);

View File

@@ -128,6 +128,9 @@ public abstract class Instruction
}
from.clear();
for (Exception e : instructions.getCode().getExceptions().getExceptions())
e.replace(this, next);
this.getInstructions().remove(this); // calls remove()
return true;