Skip to content

Commit 0fc19a3

Browse files
committed
Reimplement redundant try-catch removing transformer
Also fix irem/lrem handling in analysis
1 parent f1968c5 commit 0fc19a3

6 files changed

Lines changed: 1121 additions & 734 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ image-io-ext-ico = "3.0.2"
2121
instrument-server = "1.5.0"
2222
jackson = "2.18.2"
2323
jakarta-annotation = "3.0.0"
24-
jasm = "b084f5ef93"
24+
jasm = "aacebfa8b0"
2525
jelf = "0.10.0"
2626
jlinker = "1.0.7" # We could update, but I don't feel like rewriting the callgraph
2727
jphantom = "1.4.4"

recaf-core/src/main/java/software/coley/recaf/services/deobfuscation/transform/generic/ExceptionCollectionTransformer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class ExceptionCollectionTransformer implements JvmClassTransformer, Opco
3939
public ExceptionCollectionTransformer(@Nonnull InheritanceGraphService graphService) {
4040
this.graphService = graphService;
4141

42+
// Base types which we assume are implicitly thrown.
4243
thrownExceptions.add("java/lang/Throwable");
4344
thrownExceptions.add("java/lang/Exception");
4445
}

0 commit comments

Comments
 (0)