Commit Graph

87 Commits

Author SHA1 Message Date
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
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
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
6ca0fcf152 Fixed ASC2 §§push of function calls before returning from a method 2021-01-29 11:16:16 +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
b668a59636 new for loop continues detection 2021-01-29 07:32:21 +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
6dec0fc1c7 fixed some dup problems 2021-01-27 19:11:31 +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
7083b75f8e return in try 2021-01-25 11:01:30 +01:00
Jindra Petřík
9d554b68f9 deobfuscation fix
try..return
2021-01-24 21:15:19 +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
a0bd5794dc Fixed goto/for detection 2021-01-22 20:46:44 +01:00
Jindra Petřík
337f8bb81d goto detection improvements 2021-01-21 10:29:13 +01:00
Jindra Petřík
d3f0f94cc5 goto detection improvements 2021-01-19 22:33:03 +01:00
Jindra Petřík
4028327330 goto detection... still does not work 2021-01-19 18:22:26 +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
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
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
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
16f6fa329c AS2 test data:
- added class for getter/setter testing
- added class for vars/methods testing
2018-01-21 08:16:09 +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
cb08f5f0d1 Normalize all the line endings 2016-09-18 23:47:03 +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
Jindra Petřík
a5ab81747e Issue #1279 show duplicate trait names with hash suffix
Fixed editing const/slot
Namespace testdata
2016-09-17 00:07:50 +02:00
Jindra Petřík
aba9e3d2b1 Test data fixed
Better exception handling in FFDec AS3 compiler
2016-08-20 20:09:58 +02:00
Jindra Petřík
b750780cd9 Export subclasses stubs to be compiled by Flex too.
WIP: merging ABCs
Test data (flexedit) with simple class hierarchy
2016-08-14 23:25:46 +02:00
Jindra Petřík
0d8e621a17 AMF3 importer
refactoring AMFTools to AMF3 exporter
2016-07-19 22:21:47 +02:00
Jindra Petřík
f7b3d502cb AMF3 tests, exceptions 2016-07-17 15:48:56 +02:00