Commit Graph

231 Commits

Author SHA1 Message Date
Jindra Petřík
0ae78aacf3 Fixed: AS3 direct editation - compilation of top level classes 2021-02-26 22:46:28 +01:00
Jindra Petřík
11c3c2a8a7 Fixed: AS3 decompilation: increment/decrement on properties 2021-02-24 19:55:59 +01:00
Jindra Petřík
8a6c4cf35c Fixed: AS3 with statement decompilation 2021-02-24 19:55:59 +01:00
Jindra Petřík
b9749678f9 tests 2021-02-24 19:55:59 +01:00
Jindra Petřík
03f033035f #1260, #1438 AS1/2 direct editing on(xxx), onClipEvent(xxx) handlers 2021-02-24 19:55:59 +01:00
Jindra Petřík
a954d2f902 Fixed #1490, #1493 AS1/2 direct editation of cast op, cast op decompilation 2021-02-24 19:55:59 +01:00
Jindra Petřík
b82c83c2ad Fixed #1360 Precedence of increment/decrement operations 2021-02-11 19:10:09 +01:00
Jindra Petřík
ac89162be0 #1594 Option to use old style of getlocalx, setlocalx with underscore 2021-02-11 12:51:00 +01:00
Jindra Petřík
66b0d0bb13 Fixed #1227 AS3 avoid recursion (stackoverflow) caused by newfunction instruction 2021-02-11 11:10:56 +01:00
Jindra Petřík
5659a78a12 Fixed: #1188 AS3 reorder traits if one slot/const references another 2021-02-10 22:27:43 +01:00
Jindra Petřík
c573e57976 Fixed: #1188 AS3 Static initializer - init slot/const only when not referencing other property 2021-02-10 20:47:23 +01:00
Jindra Petřík
cd1e28db42 fix tests 2021-02-10 19:55:15 +01:00
Jindra Petřík
9e9e52e845 Fixed: #1186 Missing import when item is fully qualified 2021-02-10 19:42:57 +01:00
Jindra Petřík
253b53dde1 fix tests 2021-02-10 10:18:40 +01:00
Jindra Petřík
fcd39050b7 Fixed: AS3 getslot/setslot, getglobalscope instruction 2021-02-09 22:15:12 +01:00
Jindra Petřík
a97f57c40f Fixed: AS3 break loop in catch clause 2021-02-09 18:33:26 +01:00
Jindra Petřík
1b505080de assembly generator uses \r\n 2021-02-09 18:01:52 +01:00
Jindra Petřík
a8d1f2b293 Fixed #1195 this keyword in functions outside class 2021-02-08 20:15:19 +01:00
Jindra Petřík
c595c5b240 unnamed exception 2021-02-08 20:15:19 +01:00
Jindra Petřík
edb910917d fix tests 2021-02-08 20:15:19 +01:00
Jindra Petřík
189be5f1af fix AVM2DeobfuscatorJumps - no replacing jump when on exception start 2021-02-08 20:15:19 +01:00
Jindra Petřík
16c2ec01ea try in if fix 2021-02-08 20:15:19 +01:00
Jindra Petřík
ebc8e86323 break detection fix,
do..while fix
2021-02-08 20:15:19 +01:00
Jindra Petřík
ebb0c9a8c5 tests 2021-02-08 20:15:19 +01:00
Jindra Petřík
e24f3b6d40 try..catch break detection fix 2021-02-08 20:15:19 +01:00
Jindra Petřík
8637d16022 AS3: Merged continues in try..catch 2021-02-08 20:15:19 +01:00
Jindra Petřík
45436d7232 not using exception end as alternate entry, fix tests 2021-02-08 20:15:19 +01:00
Jindra Petřík
86df7c4798 added tests 2021-02-08 20:15:19 +01:00
Jindra Petřík
7644eddfd3 try to improve try..catch vs loops 2021-02-08 20:15:19 +01:00
Jindra Petřík
9e07695427 Fixed AS3: try..catch in do..while vs do..while in try..catch 2021-02-08 20:15:19 +01:00
Jindra Petřík
0e813bd896 AS3 Fix and/or in try clause 2021-02-08 20:15:19 +01:00
Jindra Petřík
34b69e83c3 AS3 try..catch..finally fixes 2021-02-08 20:15:19 +01:00
Jindra Petřík
43885a1a40 #349 AS3 - better handling of declarations 2021-02-08 20:15:19 +01:00
Jindra Petřík
6f19d50572 added air as3 test
as3 decompile tests moved to special directory
2021-02-08 20:15:19 +01:00
Jindra Petřík
866c32be83 not inlining setlocal..getlocal, better increment/decrement property support 2021-02-08 20:15:19 +01:00
Jindra Petřík
e7e3ed3e5c fixed assembly generator 2021-02-08 20:15:19 +01:00
Jindra Petřík
a0022ff3b1 AS3 allow exception start/end to not match instruction boundary 2021-02-08 20:15:19 +01:00
Jindra Petřík
26b51d2e95 renamed new as3 test swfs to have as3 prefix and unique SWF name 2021-02-08 20:15:19 +01:00
Jindra Petřík
347648c77e improved local register usage detection / try..catch..finally 2021-02-08 20:15:19 +01:00
Jindra Petřík
f6744eafb9 Fixed: Try..catch.finally vs loops 2021-02-08 20:15:19 +01:00
Jindra Petřík
8878940754 Fixed: Dot parent operator not detected in some cases 2021-02-08 20:15:19 +01:00
Jindra Petřík
8de1230bf9 Precontinue detector handles do..while properly. 2021-02-08 20:15:19 +01:00
Jindra Petřík
d03c64d43d Fixed and+dowhile on ASC2 - precontinue can use stack. 2021-02-08 20:15:19 +01:00
Jindra Petřík
0a7f39b82c Improved tests.
Fixed try..catch..finally.
2021-02-08 20:15:19 +01:00
Jindra Petřík
420f84d155 better try..catch..finally detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
f738e3b22b correct continue in if handling,
move continue down if possible (invert expression of if when needed)
2021-02-08 20:15:19 +01:00
Jindra Petřík
179f2a7602 add §§push if something left on stack before ExitItem (return, throw) 2021-02-08 20:15:19 +01:00
Jindra Petřík
6aad6052b3 DataProvider in tests for ASC2 compiled SWF 2021-02-08 20:15:19 +01:00
Jindra Petřík
0eff854a49 removed TestDup
flex vs asc2 compiled tests
2021-02-08 20:15:19 +01:00
Jindra Petřík
c6b1e528df update license header year 2021-02-08 20:15:19 +01:00