+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.
State: closed new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
> What steps will reproduce the problem?
1. Open the file attached
2. Try to export the scripts
> What is the expected output? What do you see instead?
No errors? :D
Instead I see "printGraph max recursion level reached" and timeouts
> What version of the product are you using? On what operating system?
ffdec 2.0.0 build 9606b702b5c3 (march 25th)
OS: Windows 7 Ultimate (64-bit)
> 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
Recursion limit is used to prevent infinite decompilation. This limit is not a constant
value, it depends on the method, so the limit should not be reached (in huge methods, too)
when everything is ok. We are currently not working on this problem.
Stay tuned, we will surely take a look on your problem. You have uploaded the SWF file so
we have something to start from.
In #482 user asked to make issue private so he can upload the SWF file, but
he has not uploaded anything (yet) so we couldn't fix it.
I have investingated the SWF file and results are these:
1) There are two problematic methods which result in timeout:
We will investigate it futher and maybe we can figure out something.
2) There are also many problematic classes inside "cmodule" package, but that is obvious,
as these are scripts produced by compiling C code (FlasCC, also called Alchemy).
We won't update decompiler in any way to support these classes as the code of these
scripts cannot be always expressed in ActionScript 3 code. (The source code is C, not AS)
Perfect! Thank you so much JPEXS! :)
p.s. I'm not sure if it's a bug or a feature, but when I select everything except cmodule
and try to export then the closer it gets to finish the slower it gets. Starting from 2.2k
it gets really slow like 1 class per 2 seconds. Maybe its because i switch back and forth
during export and check up on progress once in a while (the gui almost stops responding
even though cpu is at 12% only). Anyways, I'll test a bit more and if I find cause then
I'll create new issue.
Ok. Hopefully it's something with my computer not ffdec. Created #553
If I export like 1/3 and then restart ffdec and export next part then thats the only way i
am able to actually finish exporting fully.