Commit Graph

1775 Commits

Author SHA1 Message Date
Jindra Petřík
df3fde1f96 Fixed precontinue detector - incorrectly merged ifs 2021-01-31 21:34:33 +01:00
Jindra Petřík
4e0cd56a24 usage of exception in catch through register 2021-01-31 20:57:39 +01:00
Jindra Petřík
5214703d58 try..catch..finally of SWFTools AS3Compile 2021-01-31 20:18:25 +01:00
Jindra Petřík
adf153e13a Improved tests.
Fixed try..catch..finally.
2021-01-31 15:52:22 +01:00
Jindra Petřík
ed5fdc313d push value in finally return fix 2021-01-31 11:30:27 +01:00
Jindra Petřík
660e353eed try..catch..finally in ASC2 2021-01-31 11:11:16 +01:00
Jindra Petřík
a1bb35ba1c better try..catch..finally detection 2021-01-31 09:13:36 +01:00
Jindra Petřík
b2b9b51301 putting Jacoco code coverage back in 2021-01-29 22:24:51 +01:00
Jindra Petřík
dbad866812 correct continue in if handling,
move continue down if possible (invert expression of if when needed)
2021-01-29 20:14:32 +01:00
Jindra Petřík
81d212011f Dup in call fix 2021-01-29 19:13:13 +01:00
Jindra Petřík
daac69711c Fixed switch local reg not properly recognized in some cases 2021-01-29 19:01:19 +01:00
Jindra Petřík
6ca0fcf152 Fixed ASC2 §§push of function calls before returning from a method 2021-01-29 11:16:16 +01:00
Jindra Petřík
e9f484e735 add §§push if something left on stack before ExitItem (return, throw) 2021-01-29 11:07:03 +01:00
Jindra Petřík
2092a38e12 DataProvider in tests for ASC2 compiled SWF 2021-01-29 10:53:53 +01:00
Jindra Petřík
ca3df10b28 removed TestDup
flex vs asc2 compiled tests
2021-01-29 10:31:44 +01:00
Jindra Petřík
2e1b8870e0 update license header year 2021-01-29 08:59:28 +01:00
Jindra Petřík
31e2b84347 string concatenation in logger inspection 2021-01-29 08:56:18 +01:00
Jindra Petřík
da55406ca8 remove unused imports 2021-01-29 08:48:46 +01:00
Jindra Petřík
9106b43410 removed old parts regarding for loops detection 2021-01-29 08:26:14 +01:00
Jindra Petřík
06083eac2b fixed precontinue detector 2021-01-29 08:10:41 +01:00
Jindra Petřík
b668a59636 new for loop continues detection 2021-01-29 07:32:21 +01:00
Jindra Petřík
e0be1a554c new for loop continues detection WIP 2021-01-28 21:35:25 +01:00
Jindra Petřík
e2b2c453a7 new getmostcommon part stub 2021-01-28 16:31:59 +01:00
Jindra Petřík
0f56c72f66 AS3 instruction name padding is optional (can be enabled in settings/scripts)
as it may be hard to search an instruction with spaces behind it
2021-01-28 10:07:15 +01:00
Jindra Petřík
a683a7d97a correct custom.swf file 2021-01-28 09:42:36 +01:00
Jindra Petřík
1c981b9c13 Fixed #1206 Switch with multiple default clauses
Fixed switch(null) in some cases
2021-01-28 09:40:06 +01:00
Jindra Petřík
766d16001a Fixed build 2021-01-28 06:27:54 +01:00
Jindra Petřík
6da011cd8d Properly escape backslash in Graphviz p-code export 2021-01-27 20:38:17 +01:00
Jindra Petřík
77db322fd5 Properly escape lookupswitch (brackets []) in Graphviz p-code export 2021-01-27 20:29:13 +01:00
Jindra Petřík
6dec0fc1c7 fixed some dup problems 2021-01-27 19:11:31 +01:00
Jindra Petřík
013b958ef8 updated tests 2021-01-27 10:16:47 +01:00
Jindra Petřík
afe24d35fd increments/decrements, chained assignments fixes 2021-01-27 10:09:11 +01:00
Jindra Petřík
796865b925 placeholder 2021-01-27 07:39:34 +01:00
Jindra Petřík
1e01947e0e AS3 assembly testdata template generator 2021-01-27 07:25:25 +01:00
Jindra Petřík
0da0e41cc6 AS3 p-code more RAbcDasm like
- get/setlocal_x renamed to get/setlocalx
- QName casing changed from Qname

Better increment/decrement detection, chained assignments.
2021-01-26 21:12:34 +01:00
Jindra Petřík
5cc22a1b4c AS3 p-code more RAbcDasm like: lookupswitch caseoffsets in brackets 2021-01-25 21:34:21 +01:00
Jindra Petřík
9fce4716f9 AS3 docs not correctly displayed under p-code when metadata present 2021-01-25 20:55:02 +01:00
Jindra Petřík
89a1ffb6f9 updated graphviz exporter 2021-01-25 20:26:46 +01:00
Jindra Petřík
05f7561314 AS3 p-code more RAbcDasm like: commas in parameters list (WARNING: Breaks backward compatibility) 2021-01-25 19:59:39 +01:00
Jindra Petřík
2012ddf2e4 Fix tests 2021-01-25 19:36:05 +01:00
Jindra Petřík
58463d505d AS3 p-code more RAbcDasm like (parenthesis after True/False/Undefined/Null trait kinds)
AS3 method trait p-code indentation
AS3 editation of body traits (slot/const only)
2021-01-25 19:28:13 +01:00
Jindra Petřík
7083b75f8e return in try 2021-01-25 11:01:30 +01:00
Jindra Petřík
d4d65fc575 Fixed usages in try..finally 2021-01-25 08:39:54 +01:00
Jindra Petřík
d04c7c51b6 Fixed - AS3: return in finally 2021-01-25 07:50:50 +01:00
Jindra Petřík
9d554b68f9 deobfuscation fix
try..return
2021-01-24 21:15:19 +01:00
Jindra Petřík
c95d8372c8 remove kill switch 2021-01-24 19:55:23 +01:00
Jindra Petřík
d7bd4b629a Set slot ins fix 2021-01-24 19:43:36 +01:00
Jindra Petřík
ff55369f4e Set super fix - it's settype (works with chained assignments) 2021-01-24 19:11:23 +01:00
Jindra Petřík
ecaaf2f307 Updated tests 2021-01-24 18:52:54 +01:00
Jindra Petřík
85c59bdfdc Finally return 2021-01-24 18:44:41 +01:00