JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1279 Decompilation of traits (methods, fields) with same name
Author:
Date created:
Type: feature
Visibility: Everybody
Assigned to:
State: closed Help

Some obfuscators (for example DoSWF) use same names for different traits in one class - same methods or same vars/consts. The trait name is QName with same String as name. Difference is in namespace index of the QName. Attached file has some variables in the main class (Loader) hidden this way. FFDec should display such names somehow so they can be distinguished. According to DoSWF help, there can be same class names too.
Downloadas3_do2.swf (115 KiB)
State: new→opened
Assigned:
It should be implemented in nightly 1521. Syntax for colliding traits/classes is name#123 where 123 is namespace index. Colliding names are decompiled this way. They can't be compiled back as now - but that should be task for #1280. I also implemented "Rename colliding traits" deobfuscation button on toolbar. It's not always reliable but should be enough for some basic cases like the example SWF.
State: opened→upgraded
Also note that there are many changes in the Multiname class regarding so called "namespace suffix". I hope it won't break many softwares depending on multiname related methods in our library...
+ this should also work on classes with same name, but these are not present in this file so I can't test it much right now.
State: upgraded→closed