|
|
@ -32,6 +32,7 @@ public final class Deobfuscator { |
|
|
|
private static final Logger logger = LoggerFactory.getLogger(Deobfuscator.class); |
|
|
|
private static final Logger logger = LoggerFactory.getLogger(Deobfuscator.class); |
|
|
|
|
|
|
|
|
|
|
|
private static final ImmutableList<Transformer> TRANSFORMERS = ImmutableList.of( |
|
|
|
private static final ImmutableList<Transformer> TRANSFORMERS = ImmutableList.of( |
|
|
|
|
|
|
|
new OriginalNameTransformer(), |
|
|
|
new HostCheckTransformer(), |
|
|
|
new HostCheckTransformer(), |
|
|
|
new RightClickTransformer(), |
|
|
|
new RightClickTransformer(), |
|
|
|
new OpaquePredicateTransformer(), |
|
|
|
new OpaquePredicateTransformer(), |
|
|
@ -148,13 +149,6 @@ public final class Deobfuscator { |
|
|
|
transformer = new ClassForNameTransformer(unsignedRemapper); |
|
|
|
transformer = new ClassForNameTransformer(unsignedRemapper); |
|
|
|
transformer.transform(unsignedClassPath); |
|
|
|
transformer.transform(unsignedClassPath); |
|
|
|
|
|
|
|
|
|
|
|
/* add @OriginalName annotations */ |
|
|
|
|
|
|
|
logger.info("Annotating classes and members with original names"); |
|
|
|
|
|
|
|
transformer = new OriginalNameTransformer(); |
|
|
|
|
|
|
|
transformer.transform(classPath); |
|
|
|
|
|
|
|
transformer.transform(glClassPath); |
|
|
|
|
|
|
|
transformer.transform(unsignedClassPath); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* write output jars */ |
|
|
|
/* write output jars */ |
|
|
|
logger.info("Writing output jars"); |
|
|
|
logger.info("Writing output jars"); |
|
|
|
|
|
|
|
|
|
|
|