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 issues#1842 StackOverflowError when decompiling script
Author: nosamu
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Obfuscated
State: closed
> What steps will reproduce the problem?
1. Open the attached SWF file in FFDEC
2. In the tree view, expand Scripts => frame 1
3. Select the 2nd DoAction under frame 1
> What is the expected output? What do you see instead?
I expect to see some ActionScript code in the ActionScript panel.
Instead, I get this output:
/*
* Decompilation error
* Code may be obfuscated
* Tip: You can try enabling "Automatic deobfuscation" in Settings
* Error type: ExecutionException (java.lang.StackOverflowError)
*/
throw new flash.errors.IllegalOperationError("Not decompiled due to error");
If I turn on automatic deobfuscation, FFDEC's memory usage increases past 3GB, and
decompilation still fails:
/*
* Decompilation error
* Code may be obfuscated
* Deobfuscation is activated but decompilation still failed. If the file is NOT
obfuscated, disable "Automatic deobfuscation" for better results.
* Error type: ExecutionException (java.lang.StackOverflowError)
*/
throw new flash.errors.IllegalOperationError("Not decompiled due to error");
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
FFDEC version: 15.1.1 (stable)
Operating system: Windows 10 64-bit
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
game.swf (583 KiB)
This should be better in nightly 2434.
The script seems to be obfuscated, so there are still some §§ instructions left in the
code.
State: new→upgraded
I can confirm that the stack overflow and high memory usage is fixed now, thank you! But
yes, I was hoping to understand this code but it seems too obfuscated to make sense of,
sadly.
State: upgraded→closed