JPEXS Free Flash Decompiler Issue Tracker

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 issuesList of issues

#2187 How to update `max_stack`?
Author:
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: closed Help

I added some code to a method, and now I am getting a stack underflow error. how do I make it so I can automatically update the stack size? I am using the FFDec library and changing the pCode by adding instructions to the code.
I tried `body.autoFillStats()` but now I get a new error. VerifyError: Error #1032: Cpool index 3 is out of range 2. How do i also update the constants pool?
What exact steps did you do? Could you provide sample SWF file?
I tried to use a smaller SWF file, I couldn't replicate the error, the SWF input file I am using, I don't want to share it with the world, since this issue is set to everybody. I made a new Repo with the java code that can generate the output file, as well as provided both the input/output file in the Repo, I have invited you to my github repo to be able to view the source code. https://github.com/SamHoque/swf-veirfy-error-demo Once again thank you for the amazing library, I am pretty sure I am missing something simple around this part of the code. https://github.com/SamHoque/swf-veirfy-error-demo/blob/master/src/main/java/org/example/Main.java#L133
I think the Cpool problem comes from line 113, where you pass NamespaceId in place where NamespaceSetId should be - see issue #2186.
State: new→opened
Thank you, I used a QName instead and now it works perfectly.
You're welcome.
State: opened→closed