Commit Graph

199 Commits

Author SHA1 Message Date
Jindra Petřík
9c6b46ba79 #349 AS3 - better handling of declarations 2021-02-04 21:36:09 +01:00
Jindra Petřík
041decaab1 added air as3 test
as3 decompile tests moved to special directory
2021-02-04 19:24:53 +01:00
Jindra Petřík
b7eedd3174 not inlining setlocal..getlocal, better increment/decrement property support 2021-02-04 18:25:26 +01:00
Jindra Petřík
2be1c6e07a fixed assembly generator 2021-02-04 18:15:46 +01:00
Jindra Petřík
0b9940d300 AS3 allow exception start/end to not match instruction boundary 2021-02-03 19:55:24 +01:00
Jindra Petřík
9c3273ca97 renamed new as3 test swfs to have as3 prefix and unique SWF name 2021-02-03 07:07:22 +01:00
Jindra Petřík
7918817809 improved local register usage detection / try..catch..finally 2021-02-02 22:30:50 +01:00
Jindra Petřík
e649d08a08 Fixed: Try..catch.finally vs loops 2021-02-02 09:42:38 +01:00
Jindra Petřík
28650d40fb Fixed: Dot parent operator not detected in some cases 2021-02-01 19:17:54 +01:00
Jindra Petřík
31812ec1d0 Precontinue detector handles do..while properly. 2021-02-01 09:37:29 +01:00
Jindra Petřík
dc1ef96e70 Fixed and+dowhile on ASC2 - precontinue can use stack. 2021-02-01 06:30:11 +01:00
Jindra Petřík
adf153e13a Improved tests.
Fixed try..catch..finally.
2021-01-31 15:52:22 +01:00
Jindra Petřík
a1bb35ba1c better try..catch..finally detection 2021-01-31 09:13:36 +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
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
da55406ca8 remove unused imports 2021-01-29 08:48:46 +01:00
Jindra Petřík
b668a59636 new for loop continues detection 2021-01-29 07:32:21 +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
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
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
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
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
ecaaf2f307 Updated tests 2021-01-24 18:52:54 +01:00
Jindra Petřík
d11308ae3c Support for comma operator in switch case statements 2021-01-23 14:16:11 +01:00
Jindra Petřík
89f78bf252 Fixed goto/for detection 2021-01-23 12:55:13 +01:00
Jindra Petřík
4f1ea1a126 Fixed goto/for detectionFixed goto/for detection 2021-01-23 08:58:26 +01:00
Jindra Petřík
d7b4b5848b AS3 - more tests, added classes tests back 2021-01-22 20:44:11 +01:00
Jindra Petřík
4028327330 goto detection... still does not work 2021-01-19 18:22:26 +01:00
Jindra Petřík
cc1ed2e1c7 reverting the change about for loops / goto detection :-(
it does not work as intended
2021-01-18 20:53:44 +01:00
Jindra Petřík
b2b54118f2 AS3: Incorrect handling of strict equals operator in if vs switch resulting in §§pop 2021-01-18 20:27:05 +01:00
Jindra Petřík
e857b36db5 New test classes for fors, updated AS3Generator for tests 2021-01-18 19:47:59 +01:00
Jindra Petřík
9c38f4dca1 AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope 2021-01-18 19:19:36 +01:00
Jindra Petřík
5a68dc63b6 fixed tests, removed jacoco 2021-01-01 01:07:47 +01:00
Jindra Petřík
f48c92df27 AS1/2 Delete operator with nonIdentifier parameters (e.g. spaces or obfuscated) 2018-05-27 22:42:26 +02:00
Jindra Petřík
f61772c8f7 For in break detection with inner switch statement 2018-05-27 22:10:54 +02:00
Jindra Petřík
d138c61072 - AS1 slash syntax support (decompilation, direct editation)
- AS1/2 Using eval, set functions on obfuscated names instead of §§ syntax where applicable
2018-05-27 16:52:55 +02:00
Jindra Petřík
6ec124f71a Fixed using temporary registers after for..in (causing §§pop instructions, etc.) 2018-05-27 10:49:42 +02:00
Jindra Petřík
811f7a3b77 Better continue in for / goto detection. 2018-05-26 18:37:25 +02:00
Jindra Petřík
a7f457ad9d AS1/2: break on the end of for..in loop 2018-01-30 07:39:16 +01:00
Jindra Petřík
eca98106d2 AS1/2: Properly handling of Flash7 scripts exported to Flash5/6 - ActionDefineFunction local registers 2018-01-29 22:13:59 +01:00
Jindra Petřík
da3cf1454c AS1/2 Try..catch with error types support - decompilation and direct editation 2018-01-28 16:08:20 +01:00