Graham
880be759b7
Use smart casts in the AST deobfuscator
...
Many of the old is/as calls were left over from the original Java code.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
504e832872
Improve AddSubTransformer
...
This commit improves support for simplifying a series of multiple
additions/subtractions and doing so in a single pass.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
a87a289c49
Add duplicate class name support to the AST deobfuscator
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
3c9edb0291
Use dependency injection in the AST deobfuscator
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
597aa2018e
Add support for whole program AST transforms
4 years ago
Graham
25a6953644
Fix use of deprecated JavaParser methods
4 years ago
Graham
0a988584b7
Convert some deob-ast methods to extension methods
4 years ago
Graham
5487a74eb8
Remove traversal argument from walk extension method
4 years ago
Graham
4314aededd
Simplify hasSideEffects() calls in AddSubTransformer
4 years ago
Graham
130a05956e
Convert ExprUtils to Kotlin
4 years ago
Graham
fc00d69539
Convert TypeUtils to Kotlin
4 years ago
Graham
e3baede541
Convert NodeUtils to Kotlin
...
This commit also changes walk() to be an extension function and use reified
generics.
4 years ago
Graham
6425a874fd
Convert AddSubTransformer to Kotlin
4 years ago