Commit Graph

185 Commits

Author SHA1 Message Date
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
5cf8325911 fixed precontinue detector 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
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
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
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
787e22c3e3 chained assignments 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
61b9660b49 GraphTargetVisitorInterface for visiting model 2021-01-09 15:00:20 +01:00
Jindra Petřík
819a739397 GraphTargetVisitorInterface for visiting model 2021-01-09 13:00:30 +01:00
Jindra Petřík
07c3cc3cfb push unresolved ifs object back 2021-01-09 07:21:29 +01:00
Jindra Petřík
ac66eb740b Fixed: Correct AS/P-code matching in editor for AS3 after using deobfuscation 2021-01-04 10:10:23 +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
Jindra Petřík
d5069acb2c - Fixed §§push after continue - should be before (usually on obfuscated code) 2018-05-27 18:41:33 +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
db5750a8f7 show definefunctions in separate clusters in graphs 2018-05-24 15:31:32 +02:00
Jindra Petřík
cdd1acb1f9 More universal GraphExporter
Log exceptions on copy to clipboard graph
2018-05-24 15:31:30 +02:00
Jindra Petřík
7cd52dc324 Making makeGraph public in Graph so Graphviz exporter can access it better 2018-05-24 15:31:29 +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
813d411ccc universalloop extends whileloop
better while loop detection
2018-01-28 13:10:25 +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
da586b105f - New AS2 class detector
- Reference helper class moved to helper package.
2018-01-22 22:06:40 +01:00