#157 method decomilation fails when deobfuscation is selected
> 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
SWFCrytest_Cryout.swf (188 KiB)
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
version 1.6.4 was released this should be fixed, try it
Fixed, thank you.