Commit Graph

187 Commits

Author SHA1 Message Date
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
Jindra Petřík
d898ec2076 AS1/2 switch detection - better handling position of default branch 2018-01-28 12:03:10 +01:00
Jindra Petřík
455d30bb2d Switch variant generator 2018-01-28 11:54:47 +01:00
Jindra Petřík
eb30c18fba AS1/2 break statement decompilation in for..in loops fixed 2018-01-27 17:59:03 +01:00
Jindra Petřík
08751b9524 AS2 classes tests reorganised 2018-01-27 13:38:52 +01:00
Jindra Petřík
2f6d0e66ac AS1/2 direct editation - reordering of large (>256 items) constantpools 2018-01-21 13:03:20 +01:00
Jindra Petřík
b11fc959d1 Introducing AS2 classes Test class
AS2 classes - Test for maintaining vars/methods order
2018-01-21 09:07:20 +01:00
Jindra Petřík
2df9318036 fix test 2018-01-21 08:37:43 +01:00
Jindra Petřík
2bf7597cea update license headers 2018-01-16 20:24:33 +01:00
honfika@gmail.com
cf58f71f10 AVM2 execution fixes 2016-12-30 21:19:48 +01:00
honfika@gmail.com
11088fec36 #1308 Search by all P-code files 2016-12-19 22:21:53 +01:00
Jindra Petřík
1db9dcab0a Issue #1289 AS1/2 direct editation - variables used in inner functions must not be stored in local registers 2016-10-03 20:37:55 +02:00
Jindra Petřík
8a0223a02a Namespace suffix handling on all Levels.
Classes with same name handling.
Test data
2016-09-17 14:44:59 +02:00