JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#1379 postincrement in parameter list confuses JPEXS
Author: user svdb
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What version of the product are you using? Is it "nightly build"? Which operating system do you have? 10.0.0 release, Linux The following function public function test3(i: int): void { fun(i++); } compiles to the following bytecode getlocal_0 getlocal 1 inclocal_i 1 callpropvoid Qname(PackageNamespace(""),"fun") 1 returnvoid This is decompiled by JPEXS to: public function test3(param1:int) : void { param1++; this.fun(param1); } Note how the postincrement is incorrectly turned into a preincrement. Also, the following function public function test1(): void { var i:int = 123; fun(i++); } compiles to the following bytecode pushint 123 setlocal 1 getlocal_0 getlocal 1 inclocal_i 1 callpropvoid Qname(PackageNamespace(""),"fun") 1 kill 1 returnvoid This is decompiled by JPEXS to: public function test1() : void { _loc1_++; this.fun(123); } A variable _loc1_ is introduced, but it is not declared anywhere. Attached is the source code of the test cases above, with another variant included. Also attached is a SWF file compiled from this source code.
Downloadtest.as (484 B)Downloadtest.swf (365 B)