Commit Graph

463 Commits

Author SHA1 Message Date
Jindra Petřík
05d5fee409 Fixed #2052 Detection of switches based on notequal operator
update license in header
2023-10-01 18:21:38 +02:00
Jindra Petřík
3f6223fe0f Fixed #2029 Simplify expressions stripping getlex and also ignoring some types of expressions 2023-10-01 18:21:38 +02:00
Kornelius Rohrschneider
c821502833 Changed GetURL2 default sendVarsMethod value to 0
LoadVariables, LoadMovie, LoadVariablesNum and LoadMovieNum all previously used 1 as the default sendVarsMethod value for their GetURL2 call.
However, the default value (if no "GET" or "POST" is given) should be 0.
This has been fixed.
2023-06-25 20:41:04 +02:00
Jindra Petřík
6ef01643c1 Fixed FLA Export - AS2 - Sprite linkage to class 2023-03-19 22:43:41 +01:00
Jindra Petřík
fe41355dd4 Fixed AS2 Class detection - TemporaryRegisterMark handling 2023-03-19 22:43:41 +01:00
Jindra Petřík
045d475647 Added AS3 P-code editing class trait 2023-03-19 22:43:41 +01:00
Jindra Petřík
487d1f8b14 Update license year 2023-03-19 22:43:41 +01:00
Jindra Petřík
4dd2818f0e Fixed #1986 AS2 Class detection - NullPointerException on certain classes 2023-03-19 22:43:41 +01:00
Jindra Petřík
8116df7a7b Changed AS1/2/3 P-code - format Number values with EcmaScript toString function 2023-03-19 22:43:41 +01:00
Jindra Petřík
9e6fa2e75b Added AS3 support for logical AND/OR compound operator 2023-03-19 22:43:41 +01:00
Jindra Petřík
45f807940a Fixed #1963 AS2 properly decompile/direct edit long classes 2023-02-25 19:39:02 +01:00
Jindra Petřík
851dc7e922 Fixed #1970 AS2 Renaming invalid identifiers for direct strings (no constant indices)
Fixed #1970 AS2 Renaming invalid identifiers IndexOutOfBounds on invalid constant index (obfuscated code, etc.)
2023-02-25 19:39:02 +01:00
Jindra Petřík
b73832f51e Fixed #1842 AS1/2 use parenthesis when initObject has nonstring keys 2023-01-22 22:15:04 +01:00
Jindra Petřík
b37771c9a6 enumeration last in makeAllCommands 2023-01-22 22:15:04 +01:00
Jindra Petřík
051087e9ad Fixed #1842 AS1/2 Better handling obfuscated code, for..in 2023-01-22 22:15:04 +01:00
Jindra Petřík
7a4bec0d98 Fixed #1772 AS1/2 decompilation - StackOverflow during getVariables function 2022-12-31 23:58:51 +01:00
Jindra Petřík
7bb8061e20 Fixed #1904 AS1/2 Throw is an ExitItem to properly handle continues vs ifs 2022-12-23 17:02:50 +01:00
Jindra Petřík
2bd1208f86 Fixed #1904 NullPointerException on decompiler pool
Fixed #1904 AS1/2 Simplify expressions breaks registers, functions
2022-12-23 17:02:50 +01:00
Jindra Petřík
ce4f3e2920 Fixed #1904 NullpointerException when renaming invalid identifiers in AS1/2 files caused by missing charset 2022-12-23 17:02:50 +01:00
Jindra Petřík
cc1032b819 Changed AS1/2 deobfuscation - removing obfuscated declarations is now optional (default: off) 2022-12-18 23:10:24 +01:00
Jindra Petřík
54b6153b82 AS1/2 deobfuscation - do not remove unused obfuscated variables - we are unable to properly determine if the variable is unused. 2022-12-18 23:10:24 +01:00
Jindra Petřík
067ebb6f5d Fixed #1828 AS1/2 deobfuscation removing variable declarations 2022-12-18 23:10:24 +01:00
Jindra Petřík
263b401efc Fixed #1888 Casts for missing types, cast handling for script local classes 2022-12-02 08:56:02 +01:00
Jindra Petřík
a41926a662 Fixed #1894 Switches vs loops decompilation (now with two passes) 2022-11-30 22:58:35 +01:00
Jindra Petřík
9e8d00edba Fixed #1888 Casts in binary operations, not casting any type 2022-11-30 22:58:35 +01:00
Jindra Petřík
0227293bd0 Fixed #1692 Properly distinguish obfuscated names vs namespace suffixes and attributes 2022-11-20 22:12:19 +01:00
Jindra Petřík
b06c8313b1 Organize imports inspection 2022-11-14 10:04:55 +01:00
Jindra Petřík
1c9f81fceb Added #1701 Setting charset for SWF files with version 5 or lower 2022-11-14 10:04:55 +01:00
Jindra Petřík
0c84d5c6bd Fixed #1785 AS1/2 try..catch block in for..in 2022-11-06 21:44:39 +01:00
Jindra Petřík
1d82af4855 Update license header year 2022-11-06 21:44:39 +01:00
Jindra Petřík
10b0875358 organize imports inspection 2022-10-23 16:54:49 +02:00
Jindra Petřík
d3477d910c Fixed: #1838 AS3 - Properly handling of long unsigned values, hex values, default uint values etc.
Changed: AS3 integer values are internally (e.g. in the lib) handled as java int type instead of long.
2022-10-22 15:27:44 +02:00
Jindra Petřík
9943542f94 Fixed AS1/2 switch detection 2021-12-06 19:12:39 +01:00
Jindra Petřík
383506c94c Fixed AS1/2 switch detection 2021-12-06 18:12:33 +01:00
Jindra Petřík
05e8f68ea9 Added Show imported files on script import, able to cancel import 2021-12-05 18:30:17 +01:00
Jindra Petřík
1928962d6f Fixed #1762 AS call on integer numbers parenthesis 2021-12-01 08:44:30 +01:00
Jindra Petřík
7dab721e09 Fixed AS1/2 - gotoAndStop/play with simple label compiled as gotolabel 2021-11-29 17:15:56 +01:00
Jindra Petřík
8b79e66dfb Fixed AS1/2 - startDrag constaint 2021-11-29 17:15:56 +01:00
Jindra Petřík
d7de0fae66 Fixed AS1/2 - stop/play/etc. can be used in expressions, pushing undefined 2021-11-29 17:15:56 +01:00
Jindra Petřík
0ef76b8860 Fixed AS - direct editation - long integer values 2021-11-29 17:15:56 +01:00
Jindra Petřík
5cd2b9d6c0 Fixed AS1/2 - chained assignments with obfuscated/slash variables 2021-11-29 17:15:56 +01:00
Jindra Petřík
350efe752a Fixed AS2 - obfuscated extends, implements 2021-11-29 17:15:56 +01:00
Jindra Petřík
3a858726c8 Fixed AS1/2 - newobject deobfuscated name 2021-11-29 17:15:56 +01:00
Jindra Petřík
47575678c3 Fixed AS2 - obfuscated class attribute names 2021-11-29 17:15:56 +01:00
Jindra Petřík
34579690d4 Fixed AS1/2 - Infinity, NaN can be used as identifiers, are normal variables 2021-11-29 17:15:56 +01:00
Jindra Petřík
ab8b2e24db Fixed AS1/2 - delete on nonmember 2021-11-29 17:15:56 +01:00
Jindra Petřík
2f5eb605fe Fixed AS1/2 - empty parenthesis nullpointer 2021-11-29 17:15:56 +01:00
Jindra Petřík
6ef57d66f5 Fixed AS1/2 - spacing in with statement 2021-11-29 17:15:56 +01:00
Jindra Petřík
052049f695 Fixed AS1/2 - deobfuscate object literal names 2021-11-29 17:15:56 +01:00
Jindra Petřík
1095a012e0 Fixed AS1/2 - empty tellTarget 2021-11-29 17:15:56 +01:00