Graham
651b2f8b5f
Update Guice
...
Signed-off-by: Graham <gpe@openrs2.org>
9 months ago
Graham
3cb7ee13f9
Rename deob to deob-bytecode
...
This is in preparation for adding a new deob module which invokes the
bytecode deobfuscator, decompiler and AST deobfuscator in turn.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
f143eef142
Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ce5b76ef0f
Rename dev.openrs2 package to org.openrs2
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
232ba32bbd
Enable explicit API mode
...
This already caught some cases of public members that should have been
private and one case where the inferred type was too specific.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1308819561
Remove unused local variables of all types
...
This is required to clean up after the CopyPropagationTransformer.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
ccf7056a93
Use private companion objects where possible
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
2471418d4a
Add is prefix to boolean extension properties
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
05a03d5bdc
Inject transformers in the bundler and deobfuscator
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
5355abf4a1
Change "dummy" to "unused" in log output for consistency
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
962b494a86
Rename DummyLocalTransformer to UnusedLocalTransformer
...
This is more consistent with the Unused{Arg,Method}Transformers.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
3f2335859d
Add support for impure expressions to InsnListUtils
4 years ago
Graham
29e55df5a4
Use live variable analysis in DummyLocalTransformer
...
This allows us to catch a few extra locals, which in turn allows us to remove a
few more dummy arguments.
4 years ago
Graham
00526587b0
Convert DummyLocalTransformer to Kotlin
4 years ago