Commit Graph

113 Commits

Author SHA1 Message Date
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
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
59af3294c9 Fixed showing register assignment of exception on catch in catch. 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
86df7c4798 added tests 2021-02-08 20:15:19 +01:00
Jindra Petřík
bca83c3bb4 try..catch vs loops 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
72f0c66aa7 ignoring && true, || false 2021-02-08 20:15:19 +01:00
Jindra Petřík
930e956ad5 Fixed AS3 deobfuscator on &&, || operators 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
866c32be83 not inlining setlocal..getlocal, better increment/decrement property support 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
ad1a0ccdc8 renamed new as3 test swfs to have as3 prefix and unique SWF name 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
8d8c6cce05 Better namespace handling 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
d03c64d43d Fixed and+dowhile on ASC2 - precontinue can use stack. 2021-02-08 20:15:19 +01:00
Jindra Petřík
1a393854c0 try..catch..finally of SWFTools AS3Compile 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
63a7a1b049 try..catch..finally in ASC2 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
ee47975c19 Fixed ASC2 §§push of function calls before returning from a method 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
bfe0fce888 new for loop continues detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
8bf95a9076 correct custom.swf file 2021-02-08 20:15:19 +01:00
Jindra Petřík
31d63eb2b3 Fixed #1206 Switch with multiple default clauses
Fixed switch(null) in some cases
2021-02-08 20:15:19 +01:00
Jindra Petřík
2bebbfad0b fixed some dup problems 2021-02-08 20:15:19 +01:00
Jindra Petřík
4dc28cdebe increments/decrements, chained assignments fixes 2021-02-08 20:15:19 +01:00
Jindra Petřík
9417978be4 placeholder 2021-02-08 20:15:19 +01:00
Jindra Petřík
ae026983de AS3 assembly testdata template generator 2021-02-08 20:15:19 +01:00
Jindra Petřík
98c2b1eba9 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-02-08 20:15:19 +01:00
Jindra Petřík
ddd2d5697b return in try 2021-02-08 20:15:19 +01:00
Jindra Petřík
70e421ec06 deobfuscation fix
try..return
2021-02-08 20:15:19 +01:00
Jindra Petřík
ada687db7a Updated tests 2021-02-08 20:15:19 +01:00
Jindra Petřík
0a60be9246 Support for comma operator in switch case statements 2021-02-08 20:15:19 +01:00
Jindra Petřík
3f2e075ee9 Fixed goto/for detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
c5f992b675 Fixed goto/for detectionFixed goto/for detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
22c2206aec Fixed goto/for detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
b4b9a7fe8e goto detection improvements 2021-02-08 20:15:19 +01:00