Update tracing exception pattern

Signed-off-by: Major <major@emulate.rs>
bzip2
Major 5 years ago
parent dd8dc533e9
commit f04f4f9685
  1. 5
      deob/src/main/java/dev/openrs2/deob/transform/ExceptionTracingTransformer.kt

@ -43,12 +43,11 @@ class ExceptionTracingTransformer : Transformer() {
private val logger = InlineLogger() private val logger = InlineLogger()
private val CATCH_MATCHER = InsnMatcher.compile( private val CATCH_MATCHER = InsnMatcher.compile(
""" """
ASTORE (ASTORE ALOAD)?
ALOAD
(| LDC INVOKESTATIC | (| LDC INVOKESTATIC |
NEW DUP NEW DUP
(LDC INVOKESPECIAL | INVOKESPECIAL LDC INVOKEVIRTUAL) (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 INVOKEVIRTUAL INVOKESTATIC
) )
ATHROW ATHROW

Loading…
Cancel
Save