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

#1135 Missing offset label for try code
Author: user Suuper
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

> What steps will reproduce the problem? Go to a method that has a "try from" statement in the ABC assembly, but does not have a jump statement for one or more of the labels used in the try from statement. Edit the ABC and re-save it. > What is the expected output? What do you see instead? The expected output is that the offset labels will be managed by FFDec. But FFDec will only place offset labels in the ABC where a jump statement (jump, ifeq, ifne, etc) points to. If any of the offsets used in the try from statement are not labeled in the ABC assembly, FFDec has no way of determining where they are supposed to point to, and so they are set to ofs0000. When creating ofsXXXX labels in the ABC assembly, FFDec should also look for offset pointers in any try from statements. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? I am using version 7.1.2, on Windows 7.
admin
It should be fixed in nightly 1210. Thanks for reporting, this looks like pretty critical bug! In the try statement, the "from" and "target" offsets were handled correctly, but the "to" offset not because of earlier deobfuscation decision, that "to" is not an important offset. Now it should work.
State: new→upgraded
developer
I close this issue due to inactivity. Please create new issue if the problem still exists.
State: upgraded→closed