Update tracing exception pattern

Signed-off-by: Major <major@emulate.rs>
master
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 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

Loading…
Cancel
Save