: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#277 Decompiling FlasCC SWFs
Author: user paleozogt
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: AS3FlashCCObfuscated
State: postponed Help

> What steps will reproduce the problem? Build one of the FlasCC samples (for example, from samples/Example_Box2D in the FlasCC distro). Load it into JPEXS and choose File->ExportAllParts. > What is the expected output? What do you see instead? It should decompile the full SWF. Note that I don't expect it to decompile the FlasCC functions into C/C++. However, the FlasCC functions have been rendered into AS3 bytecode-- and that should be decompiled. On certain functions it shows errors like this in the log: java.lang.StackOverflowError at java.util.HashMap.getEntry(Unknown Source) at java.util.HashMap.containsKey(Unknown Source) at java.util.HashSet.contains(Unknown Source) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2135) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2150) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2150) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2150) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2150) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2150) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2150) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2150) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.getPreviousReachableIps(AVM2Code.java:2150) at com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition.isRegisterCompileTi me(InstructionDefinition.java:137) at com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.GetLocalTypeIns.translate(GetLo calTypeIns.java:46) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toSourceOutput(AVM2Code.java:1149) at com.jpexs.decompiler.flash.abc.avm2.graph.AVM2GraphSource.translatePart(AVM2GraphSource.ja va:75) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1453) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1715) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1715) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1724) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:831) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1702) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1715) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1715) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1715) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1715) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1715) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1724) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:831) > What version of the product are you using? On what operating system? v1.6.7 on Windows 7 and Mac OS X 10.8. > Please provide any additional information below. Attach the file you have problem with if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE I am attaching Boxes.swf, built from the Example_Box2D sample in the FlasCC1.0.1 distro.
DownloadBoxes.swf (561 KiB)
admin
"rendered into AS3 bytecode" is not the same as "rendered to .as file". The file uses alchemy instructions and unusual control flow patterns, therefore decompilation to .as file is not always possible. Improving "decompilation" of such kind of code has currently low priority for me. I don't want to waste my time on it, sorry. It is not compiled AS code, it is something other compiled to ABC.
State: new→postponed
Title: cannot decompile FlasCC SWFs→Decompiling FlasCC SWFs
Type: bug→feature
 
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic