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.

#157 method decomilation fails when deobfuscation is selected
Author:
honfika

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DeobfuscationObfuscated
State: closed 

> What steps will reproduce the problem?
Open the attached swf with default settings. (automatic deobfuscation=true)
find the following class:
package: ;+>(@+,.>0&%7!#'.67$
className: 44*6#"<0
check the decompiled code for function "?&@)" (StackOverflowException)
When automatic deobfuscation is turned off, the decompilation is ok.
> What is the expected output? What do you see instead?
expected: Method is decomiled successfully.
current: StackOverflowException
> What version of the product are you using? On what operating system?
1.6.3u2, win7 x64
> 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
The deobfuscated instruction list seems to be ok, the problem should be somewhere in
AVM2Graph.translateViaGraph

I have copied the relevant method from SWFCrytest_Cryout.swf to nysewa.swf
This swf is not obfuscated (only the names are random strings), but i got the same
stackoverflow exception when try to decompile it (with or without automatic
deobfuscation)
"Source code" is attached.
Reproduce:
open attached swf.
decompile "nysewa" class,
check "pakepe" method
Here is a simplified example. Please ignore, and remove the previous 2 files.


2 files deleted
State: new→opened
version 1.6.4 was released
this should be fixed, try it
State: opened→upgraded
Fixed, thank you.
State: upgraded→closed