Rename unique first
This commit is contained in:
@@ -42,6 +42,8 @@ public class Deob
|
||||
long start = System.currentTimeMillis();
|
||||
|
||||
ClassGroup group = loadJar(args[0]);
|
||||
|
||||
new RenameUnique().run(group);
|
||||
|
||||
// remove except RuntimeException
|
||||
new RuntimeExceptions().run(group);
|
||||
@@ -68,8 +70,6 @@ public class Deob
|
||||
new UnusedFields().run(group);
|
||||
|
||||
//new ModularArithmeticDeobfuscation().run(group);
|
||||
|
||||
new RenameUnique().run(group);
|
||||
|
||||
saveJar(group, args[1]);
|
||||
|
||||
@@ -77,6 +77,11 @@ public class Deob
|
||||
System.out.println("Done in " + ((end - start) / 1000L) + "s");
|
||||
}
|
||||
|
||||
public static boolean isObfuscated(String name)
|
||||
{
|
||||
return name.startsWith("method") || name.startsWith("vmethod") || name.startsWith("field") || name.startsWith("class");
|
||||
}
|
||||
|
||||
private static ClassGroup loadJar(String jarfile) throws IOException
|
||||
{
|
||||
ClassGroup group = new ClassGroup();
|
||||
|
||||
Reference in New Issue
Block a user