Commit Graph

564 Commits

Author SHA1 Message Date
Jindra Petřík
eb37e6b0b4 Preincrement/decrement propety in ASC2 2021-02-08 20:15:19 +01:00
Jindra Petřík
b432037bf8 Fixed diplicate refs on graph creation 2021-02-08 20:15:19 +01:00
Jindra Petřík
16cceb3862 usage of exception in catch through register 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
dbe998cf8a push value in finally return fix 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
bc6e8770c1 Dup in call fix 2021-02-08 20:15:19 +01:00
Jindra Petřík
e68cf59d5f Fixed switch local reg not properly recognized in some cases 2021-02-08 20:15:19 +01:00
Jindra Petřík
c6b1e528df update license header year 2021-02-08 20:15:19 +01:00
Jindra Petřík
ef143d8ede string concatenation in logger inspection 2021-02-08 20:15:19 +01:00
Jindra Petřík
2767f77a66 remove unused imports 2021-02-08 20:15:19 +01:00
Jindra Petřík
3f6fd5a3c0 removed old parts regarding for loops detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
47e6737422 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-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
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
90bf2057fe AS3 p-code more RAbcDasm like: lookupswitch caseoffsets in brackets 2021-02-08 20:15:19 +01:00
Jindra Petřík
4c4d173798 AS3 p-code more RAbcDasm like: commas in parameters list (WARNING: Breaks backward compatibility) 2021-02-08 20:15:19 +01:00
Jindra Petřík
7f6181360f 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-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
f4e4835f29 Fixed usages in try..finally 2021-02-08 20:15:19 +01:00
Jindra Petřík
79cf2324f9 Fixed - AS3: return in finally 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
dabb1880fb remove kill switch 2021-02-08 20:15:19 +01:00
Jindra Petřík
7037d7ff02 Set slot ins fix 2021-02-08 20:15:19 +01:00
Jindra Petřík
f51644caeb Set super fix - it's settype (works with chained assignments) 2021-02-08 20:15:19 +01:00
Jindra Petřík
5796832107 Finally return 2021-02-08 20:15:19 +01:00
Jindra Petřík
4ac7c72499 for (each) in 2021-02-08 20:15:19 +01:00
Jindra Petřík
4e191a701f setlocal..getlocal..nootheruse 2021-02-08 20:15:19 +01:00
Jindra Petřík
787e22c3e3 chained assignments 2021-02-08 20:15:19 +01:00
Jindra Petřík
06c681b72c call 2021-02-08 20:15:19 +01:00
Jindra Petřík
f7063415ec no print 2021-02-08 20:15:19 +01:00
Jindra Petřík
ddab9c4ac9 Switch 2021-02-08 20:15:19 +01:00
Jindra Petřík
7725258ceb Calculate setLocal usages and use it in setProperty 2021-02-08 20:15:19 +01:00
Jindra Petřík
9e5b90827d Kill switch 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
b4b9a7fe8e goto detection improvements 2021-02-08 20:15:19 +01:00
Jindra Petřík
054b0dc9f7 goto detection... still does not work 2021-02-08 20:15:19 +01:00
Jindra Petřík
15e69bbf75 AS3: Incorrect handling of strict equals operator in if vs switch resulting in §§pop 2021-02-08 20:15:19 +01:00
Jindra Petřík
cade4549fb AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope 2021-02-08 20:15:19 +01:00
Jindra Petřík
dc18fad2b3 Improved for continue / goto detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
819a739397 GraphTargetVisitorInterface for visiting model 2021-01-09 13:00:30 +01:00
Jindra Petřík
4926cb04d0 Show §§findproperty when neccessary (AS3) 2021-01-09 08:43:45 +01:00
Jindra Petřík
637f52091a setglobalslot as §§ 2021-01-09 08:34:54 +01:00
Jindra Petřík
60d91f7782 Use object.§§slot[index] syntax instead of /* UnknownSlot */ comment when slot cannot be determined (AS3) 2021-01-09 08:34:27 +01:00
Jindra Petřík
ea51fdea9a #1379 AS3 - better handling local registers postincrement/decrement 2021-01-06 17:13:00 +01:00
Jindra Petřík
2b64e72014 Correct body index for script initializer in P-code debugging 2021-01-06 08:43:04 +01:00