Commit Graph

56 Commits

Author SHA1 Message Date
Jindra Petřík
3771e02ba2 Fixed #1006 AS3 - Warning - Function value used where type Boolean was expected
as3_new testdata compilers do not ignore warnings
as3_new testdata without warnings
2022-12-18 23:10:24 +01:00
Jindra Petřík
c26030620f Fixed Avoid Error Implicit coercion of a value of type XXX to an unrelated type YYY 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
1d82af4855 Update license header year 2022-11-06 21:44:39 +01: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
742525a365 organize imports 2021-03-12 22:12:39 +01:00
Jindra Petřík
8fa321cfd3 AS3 using temp registers on compound assignments when hasSideeffect 2021-03-12 22:12:39 +01:00
Jindra Petřík
f77d3948df valueEquals implemented for AS1/2 2021-03-12 22:12:39 +01:00
Jindra Petřík
23227caacd AS3 - Compound assignments detection 2021-03-12 22:12:39 +01:00
Jindra Petřík
8a6c4cf35c Fixed: AS3 with statement decompilation 2021-02-24 19:55:59 +01:00
Jindra Petřík
a954d2f902 Fixed #1490, #1493 AS1/2 direct editation of cast op, cast op decompilation 2021-02-24 19:55:59 +01:00
Jindra Petřík
43885a1a40 #349 AS3 - better handling of declarations 2021-02-08 20:15:19 +01:00
Jindra Petřík
c6b1e528df update license header year 2021-02-08 20:15:19 +01:00
Jindra Petřík
2767f77a66 remove unused imports 2021-02-08 20:15:19 +01:00
Jindra Petřík
98c2b1eba9 AS3 p-code more RAbcDasm like
- get/setlocal_x renamed to get/setlocalx
- QName casing changed from Qname

Better increment/decrement detection, chained assignments.
2021-02-08 20:15:19 +01:00
Jindra Petřík
dc18fad2b3 Improved for continue / goto detection 2021-02-08 20:15:19 +01:00
Jindra Petřík
61b9660b49 GraphTargetVisitorInterface for visiting model 2021-01-09 15:00:20 +01:00
Jindra Petřík
819a739397 GraphTargetVisitorInterface for visiting model 2021-01-09 13:00:30 +01:00
Jindra Petřík
2bf7597cea update license headers 2018-01-16 20:24:33 +01:00
honfika@gmail.com
577bdd4844 add missing overrides + some other small changes 2016-04-28 22:09:44 +02:00
Jindra Petřík
36220f2de3 not resolving unusualTags in DefineSprite for parallel speedup off too
improved AS3 deobfsucation
2016-02-18 10:32:12 +01:00
Jindra Petřík
26fbb83ef3 simplify expressions 2016-02-17 20:07:56 +01:00
Jindra Petřík
6a8d73c798 AS3 - some simplifications 2016-02-17 19:43:13 +01:00
Jindra Petřík
be8e4df4c7 #1145 AS3 better declaration type detection,
better convert_x instruction handling
2016-02-16 23:00:17 +01:00
Jindra Petřík
ef739fbfd9 Simplify nonif expressions while deobfuscation too
Regexp deobfuscation.
Implicit coercion handling.
#1145 double not (!!) fix
2016-02-07 17:13:59 +01:00
honfika@gmail.com
1cea429e7b copyright year updated 2016-01-01 14:06:56 +01:00
Jindra Petřík
4a4e0e4898 Better line start detection
Fixed debug info injection
2015-11-17 09:24:42 +01:00
honfika@gmail.com
e62b886a09 AS3 instruction execution fixes 2015-11-05 08:53:57 +01:00
honfika@gmail.com
a4f4dd3604 small improvements, little bit faster decompilation by caching the number values of the strings 2015-10-23 12:56:27 +02:00
Jindra Petřík
09ae6c62a0 Issue #418 and/or detection fix 2015-10-22 09:49:11 +02:00
honfika@gmail.com
85788e258c AS2 deobfuscation improved / faster 2015-10-17 09:52:21 +02:00
honfika@gmail.com
3958217d93 #1047 6.0.2 open all scripts folders: fix 2015-09-13 08:31:41 +02:00
honfika@gmail.com
696ee04cb4 avoid throwing EmptyStackExceptions in as2 deobfuscation 2015-08-26 20:50:22 +02:00
honfika@gmail.com
fa6b85416f export fix 2015-07-11 19:20:43 +02:00
Jindra Petřík
8a154b48e0 do not use line info in block (obfuscated SWFs break it)
Issue #961 Final process fix
2015-07-10 19:52:29 +02:00
Jindra Petřík
9646a6e848 Block refactoring - uses same method.
Use a bit of line information to put commands on same line when needed.
2015-07-10 06:15:11 +02:00
honfika@gmail.com
cc8bf6fb7a small fixes/improvements 2015-07-09 16:42:42 +02:00
honfika@gmail.com
870f9cf926 build fix 2015-07-09 13:04:09 +02:00
honfika@gmail.com
9415a7a115 do not instantiate millions of ArrayList 2015-07-09 13:03:29 +02:00
honfika@gmail.com
42a8fc4c22 GraphTargetItem.src is readonly (field is private, getter added) 2015-07-09 10:51:04 +02:00
honfika@gmail.com
0437e95b4f do not instantiate millions of HighlightData 2015-07-09 10:31:50 +02:00
honfika@gmail.com
31eb284b60 no more string concatenation in graph text writer 2015-07-07 16:24:43 +02:00
honfika@gmail.com
fac67d5baa format source code 2015-07-04 20:51:26 +02:00
Jindra Petřík
626668fc43 Merge branch 'v6'
Conflicts:
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ABC.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptLexer.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/SymbolType.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/InstanceInfo.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Action.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionGraph.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/parser/script/ActionSourceGenerator.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/parser/script/SymbolType.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/swf6/ActionEnumerate2.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphSourceItem.java
	libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphTargetItem.java
	libsrc/ffdec_lib/src/com/jpexs/helpers/Helper.java
	libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript2Test.java
	src/com/jpexs/decompiler/flash/gui/Main.java
	src/com/jpexs/decompiler/flash/gui/abc/UsageFrame.java
2015-07-03 19:06:09 +02:00
Jindra Petřík
0cea275073 A fix ? 2015-07-03 18:34:17 +02:00
Jindra Petřík
cac19d6cb9 Stack handling improved - no more StackEmptyException
And/Or handling improved
Preprocessor instructions introduced - §§pop,§§push...
2015-06-12 13:04:13 +02:00
honfika@gmail.com
e49296770f format source code 2015-05-08 13:33:40 +02:00
Jindra Petřík
af31f85c49 Issue #842 For reconstruction if debug line info present
Spaces added between parts of for
2015-04-26 08:21:50 +02:00
honfika@gmail.com
ade56d45a2 format code: blank lines 2015-01-18 21:32:37 +01:00
honfika@gmail.com
677bdf969b copyright year updated 2015-01-13 19:36:39 +01:00