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

#320 The while statement vanish after decompiling
Author: user freddie
Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: AS3
State: closed Help

> What steps will reproduce the problem? Decompile file: TestFfDec.swf Result of class to check: Test Method to check: function test02() > What is the expected output? What do you see instead? EXPECTED: --------------------------------------- public static function test02() : void { try { var i:int =0; var b: Boolean = true; if (i > 0) { while (SomeUtilClass.staticMethod()) { if (b) { return; } } } i++; } catch (e:Error) { } } ACTUAL: ---------------------------------------------- public static function test02() : void { var i:* = 0; var b:* = false; try { i = 0; b = true; i++; } catch(e:Error) { } } > What version of the product are you using? On what operating system? Ffdec version: 1.7.0, Windows7x64 > Please provide any additional information below. Attach the file you have problem with if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE Please see my attachments including the Flex source code and its SWF
DownloadSomeUtilClass.as (123 B)DownloadTest.as (1 KiB)DownloadTestFfDec.mxml (438 B)DownloadTestFfDec.swf (559 KiB)
admin
Yes,the while statement is missing. This is result of automatic deobfuscation. If(i>0) always evaluates to false. You can turn the deobfuscation off in the Settings menu. Can I close this issue?
Type: bug→question
user
OK, tested with deobfuscation off. You can close it. Thank you
admin
State: new→closed