JPEXS Free Flash Decompiler Issue Tracker

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

+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.

List of issuesList of issues

#1324 P-code deobfuscation may yield incorrect decompilation(++ operator side effect overlooked)
Author: user vonchun
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What steps will reproduce the problem? 1. use hex2bin to convert the attached txt file to binary file. 2. use P-code deobufscation deobfuscate it 3. decompile it > What is the expected output? What do you see instead? the last line of this function param1[_loc7_++] = param1[_loc7_++] ^ _loc3_[_loc6_ + _loc3_[_loc4_] & class_1.method_1(1313413342,1313413153)]; Here _loc7++ occurs twice in this line, i.e. incremented twice - actually it should only increment once. It should be decompiled as: param1[_loc7_] = param1[_loc7_] ^ _loc3_[_loc6_ + _loc3_[_loc4_] & class_1.method_1(1313413342,1313413153)]; _loc7_++ > What version of the product are you using? Is it "nightly build"? Which operating system do you have? > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
Downloadhex.txt (4 KiB)