Added AS3 P-code keyword "Unknown(N)", where N is index. For constants out of bounds. (mostly in dead code)

Fixed AS3 Deobfuscation causing invalid jump offsets for files with constant indices out of bounds
This commit is contained in:
Jindra Petřík
2022-12-18 18:16:23 +01:00
parent 0bad1d2930
commit c4799bc92e
13 changed files with 2527 additions and 2462 deletions

View File

@@ -163,6 +163,7 @@ ExceptionTarget = "exceptiontarget "{PositiveNumberLiteral}":"
"MultinameL" |
"MultinameLA" |
"TypeName" |
"Unknown" |
"null" { return token(TokenType.KEYWORD2);}
"(" { return token(TokenType.OPERATOR,PARAN); }
")" { return token(TokenType.OPERATOR,-PARAN); }