Commit Graph

821 Commits

Author SHA1 Message Date
Jindra Petřík
6f4cb4a8d6 Fixed #1940 AS3 decompilation - wrong assignment 2023-01-30 22:33:36 +01:00
Jindra Petřík
7822ec078d Fixed #1888 String casts - ConvertS on XML, XMLList 2023-01-30 22:33:36 +01:00
Jindra Petřík
0469170810 Fixed #1951 Renaming invalid identifiers with existing string collisions 2023-01-30 22:33:36 +01:00
Jindra Petřík
4a5cef7a3a Fixed #1951 Clearing Namespace/Multiname cache after renaming identifiers 2023-01-30 22:33:36 +01:00
Jindra Petřík
c08c96a272 Fixed #1948 NullPointerException on Simplify expressions on incrementent/decrement 2023-01-30 22:33:36 +01:00
Jindra Petřík
40ea1e4aa3 A little optimization, dottedchain uses ArrayLists 2023-01-22 22:15:04 +01:00
Jindra Petřík
60e6e90310 Fixed AS3 - not using visitCode when not needed => faster decompilation 2023-01-22 22:15:04 +01:00
Jindra Petřík
2511a80f23 Use FindProperty instead of FindPropStrict on setting property 2023-01-22 22:15:04 +01:00
Jindra Petřík
e69d492953 Fixed #1938 AS3 - shortening + 1 to increment
Fixed #1938 AS3 - implicit coercion of operations
Fixed #1938 AS3 - initproperty compound operators, increment/decrement
2023-01-22 22:15:04 +01:00
Jindra Petřík
8fc3690cb6 resolving fix 2023-01-22 22:15:04 +01:00
Jindra Petřík
16a5edc841 Fixed #1938 AS3 - coercion call type 2023-01-22 22:15:04 +01:00
Jindra Petřík
855e74a36f Fixed AS3 Direct editation - using local classes as types 2023-01-22 22:15:04 +01:00
Jindra Petřík
6fd5f2caca #1938] AS3 Direct editation - setting default values for slots 2023-01-22 22:15:04 +01:00
Jindra Petřík
4906c59a2c Fixed #1938 AS3 Direct editation - local registers coerce/convert 2023-01-22 22:15:04 +01:00
Jindra Petřík
0377a876e3 Fixed #1938 AS3 Direct editation - implied this instead of findprop 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
d5b1519d2f Fixed #1937 AS3 - declarations vs null 2023-01-22 22:15:04 +01:00
Jindra Petřík
313b51cd8c Fixed #1937 AS3 - declarations vs null 2023-01-22 22:15:04 +01:00
Jindra Petřík
2a8c6a7858 Fixed #1888 AS3 - Coerces, module operator 2023-01-22 22:15:04 +01:00
Jindra Petřík
d199949ed1 Fixed #1936 AS3 Direct editation - scope of nested functions 2023-01-22 22:15:04 +01:00
Jindra Petřík
0aaef75927 Fixed #1936 AS3 Direct editation - slots increment, decrement 2023-01-22 22:15:04 +01:00
Jindra Petřík
d55f9dcf3e Fixed #1936 AS3 Direct editation - missing pop after call 2023-01-22 22:15:04 +01:00
Jindra Petřík
5964d48f92 Fixed #1936 AS3 Direct editation - colliding try..catch variable 2023-01-22 22:15:04 +01:00
Jindra Petřík
f80d4788f8 Fixed #1936 AS3 Direct editation - handling undefined variables 2023-01-22 22:15:04 +01:00
Jindra Petřík
5a5a2b1f3a Fixed #1936 AS3 - Scope stack in second pass 2023-01-22 22:15:04 +01:00
Jindra Petřík
dc1e0954bf Fixed AS3 Direct editation - removing method bodies after unsuccessful edit (part 2) 2023-01-22 22:15:04 +01:00
Jindra Petřík
c5d1790c25 Fixed #1936 AS3 - Parentheses around function definition call 2023-01-22 22:15:04 +01:00
Jindra Petřík
376888af0d Fixed AS3 Direct editation - removing method bodies after unsuccessful edit 2023-01-22 22:15:04 +01:00
Jindra Petřík
07e94aea45 Fixed AS3 - line numbering on pushback string on regexp 2023-01-22 22:15:04 +01:00
Jindra Petřík
50910f57d1 Fixed #1888 AS3 - Coerce to int when Number
Fixed AS3 - super properties resolving
2023-01-22 22:15:04 +01:00
Jindra Petřík
e9568e413b Fixed AS3 - local registers type declarations vs for..in clause 2023-01-22 22:15:04 +01:00
Jindra Petřík
5d428eaa8b Fixed #1888 AS3 - Coerce to string 2023-01-22 22:15:04 +01:00
Jindra Petřík
84af94475a Fixed #1892 AS3 - internal modifier after implicit namespace 2023-01-22 22:15:04 +01:00
Jindra Petřík
fbd0d9f5cb Fixed #1888 AS3 - missing casts in declarations 2023-01-22 22:15:04 +01:00
Jindra Petřík
9b75584339 Fixed #1933 AS3 - Detection of variable names from debug info on multiple debug ins with same regindex 2023-01-09 21:37:06 +01:00
Jindra Petřík
238ddda150 Fixed #1890 AS3 - Removing first assignment in for in loop 2022-12-31 23:58:51 +01:00
Jindra Petřík
e4e58db65d Fixed #1926 Constructors namespace taken from class - should be always public 2022-12-31 23:58:51 +01:00
Jindra Petřík
8d7ecce4c0 Fixed #1921 AS3 direct editation - exception on code save - wrong selected ABC 2022-12-28 09:20:37 +01:00
Jindra Petřík
b82d68ad1d Fixed #1920 Slower decompilation (returnType method optimization) 2022-12-27 19:25:01 +01:00
Jindra Petřík
8e368c5675 Added #1690 Deobfuscation tool dialog for script level (not just current method / all classes)
Changed #1690 Redesigned Deobfuscation tool dialog.
Removed "Restore control flow" deobfuscation level as it was the same as "Remove traps"
2022-12-23 17:02:50 +01:00
Jindra Petřík
9b717017ae Fixed #595 AS3 direct editation - protected property resolving,
Fix tests
2022-12-23 17:02:50 +01:00
Jindra Petřík
5d13387f7b Fixed AS3 direct editation and decompiler share same AbcIndex 2022-12-23 17:02:50 +01:00
Jindra Petřík
257bc37d8c Fixed AS3 direct editation - protected property resolving 2022-12-23 17:02:50 +01:00
Jindra Petřík
4dbb74cc45 Fixed
- AS3 - "native" modifier only for methods with EXPLICIT flag
- AS3 - AS3 builtin namespace visibility

Changed
- AS3 - order of modifiers: final, override, access, static, native
2022-12-18 23:10:24 +01:00
Jindra Petřík
f7869abe0b Added AS3 P-code - Editing interface methods 2022-12-18 23:10:24 +01:00
Jindra Petřík
c4799bc92e Added AS3 P-code keyword "Unknown(N)", where N is index. For constants out of bounds. (mostly in dead code)
Fixed AS3 Deobfuscation causing invalid jump offsets for files with constant indices out of bounds
2022-12-18 23:10:24 +01:00
Jindra Petřík
2b2a9bfbed Remove printing "xxx" in FullMultinameAvm2item 2022-12-18 23:10:24 +01:00
Jindra Petřík
933aa4c234 Fixed AS3 - Resolving types on static protected namespaced properties
Fixed test data
2022-12-18 23:10:24 +01:00
Jindra Petřík
8388d6adf4 AS3 - "internal" keyword support 2022-12-18 23:10:24 +01:00
Jindra Petřík
8b6dd09069 organize imports 2022-12-18 23:10:24 +01:00