mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-04 22:14:26 +00:00
Fixed AS3 deobfuscator on &&, || operators
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -21,6 +21,7 @@ package
|
||||
TestContinueLevels;
|
||||
TestDecl2;
|
||||
TestDeclarations;
|
||||
TestDeobfuscation;
|
||||
TestDefaultNotLastGrouped;
|
||||
TestDotParent;
|
||||
TestDoWhile;
|
||||
|
||||
18
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestDeobfuscation.as
vendored
Normal file
18
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestDeobfuscation.as
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestDeobfuscation
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var r:int = Math.random();
|
||||
var f:Boolean = false;
|
||||
|
||||
if(r > 5 || f)
|
||||
{
|
||||
return "okay";
|
||||
}
|
||||
return "after";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user