From f04f4f96850cdd4fcc0d942b555178584c037914 Mon Sep 17 00:00:00 2001 From: Major Date: Sat, 7 Mar 2020 14:52:15 +0000 Subject: [PATCH] Update tracing exception pattern Signed-off-by: Major --- .../openrs2/deob/transform/ExceptionTracingTransformer.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deob/src/main/java/dev/openrs2/deob/transform/ExceptionTracingTransformer.kt b/deob/src/main/java/dev/openrs2/deob/transform/ExceptionTracingTransformer.kt index 3efe61bc49..9e6077040b 100644 --- a/deob/src/main/java/dev/openrs2/deob/transform/ExceptionTracingTransformer.kt +++ b/deob/src/main/java/dev/openrs2/deob/transform/ExceptionTracingTransformer.kt @@ -43,12 +43,11 @@ class ExceptionTracingTransformer : Transformer() { private val logger = InlineLogger() private val CATCH_MATCHER = InsnMatcher.compile( """ - ASTORE - ALOAD + (ASTORE ALOAD)? (| LDC INVOKESTATIC | NEW DUP (LDC INVOKESPECIAL | INVOKESPECIAL LDC INVOKEVIRTUAL) - ((ILOAD | LLOAD | FLOAD | DLOAD | (ALOAD IFNULL LDC GOTO LDC) | BIPUSH) INVOKEVIRTUAL)* + ((ILOAD | LLOAD | FLOAD | DLOAD | (ALOAD IFNULL LDC GOTO LDC) | BIPUSH | SIPUSH | LDC) INVOKEVIRTUAL)* INVOKEVIRTUAL INVOKESTATIC ) ATHROW