Commit Graph

118 Commits

Author SHA1 Message Date
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
14403e034b ignore true/false in &&,|| on variable 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
45436d7232 not using exception end as alternate entry, fix 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
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
f6744eafb9 Fixed: Try..catch.finally vs loops 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
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
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
e68cf59d5f Fixed switch local reg not properly recognized in some cases 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
179f2a7602 add §§push if something left on stack before ExitItem (return, throw) 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
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
bfe0fce888 new for loop continues detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
f8f7d00981 new for loop continues detection WIP 2021-02-08 20:15:19 +01:00
Jindra Petřík
97ee0d3433 new getmostcommon part stub 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
79cf2324f9 Fixed - AS3: return in finally 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
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
21f6c0112f AS3: Show try graph heads in Graphviz distinguished 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
f30171188d Fixed 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
Jindra Petřík
fe44fe16f4 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
5d7924fa2c reverting the change about for loops / goto detection :-(
it does not work as intended
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
a6d87ef0bb Pushes all to stack before going goto. 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
96f3aee198 Try for new getprecontinues method for for detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
07c3cc3cfb push unresolved ifs object back 2021-01-09 07:21:29 +01:00
Jindra Petřík
e881aac7af #1457 pushing on stack before exit item(return/throw) 2020-04-25 17:11:07 +02:00
Jindra Petřík
f61772c8f7 For in break detection with inner switch statement 2018-05-27 22:10:54 +02:00