Commit Graph

101 Commits

Author SHA1 Message Date
Jindra Petřík
ae119b7201 Fixed AS3 deobfuscator on &&, || operators 2021-02-06 09:43:03 +01:00
Jindra Petřík
619ef52790 Fixed AS3: try..catch in do..while vs do..while in try..catch 2021-02-06 08:42:52 +01:00
Jindra Petřík
e12d65cfbe AS3 Fix and/or in try clause 2021-02-05 18:30:26 +01:00
Jindra Petřík
372f392721 AS3 try..catch..finally fixes 2021-02-05 18:05:25 +01:00
Jindra Petřík
9c6b46ba79 #349 AS3 - better handling of declarations 2021-02-04 21:36:09 +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
0b9940d300 AS3 allow exception start/end to not match instruction boundary 2021-02-03 19:55:24 +01:00
Jindra Petřík
bfd750874b renamed new as3 test swfs to have as3 prefix and unique SWF name 2021-02-03 07:08:13 +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
c985e3e402 Better namespace handling 2021-02-02 19:27:29 +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
dc1ef96e70 Fixed and+dowhile on ASC2 - precontinue can use stack. 2021-02-01 06:30:11 +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
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