Commit Graph

1682 Commits

Author SHA1 Message Date
Jindra Petřík
b9660cdfec #1597 Option to use old style lookupswitch in AS3 P-code 2021-02-12 06:13:38 +01:00
Jindra Petřík
b82c83c2ad Fixed #1360 Precedence of increment/decrement operations 2021-02-11 19:10:09 +01:00
Jindra Petřík
ac89162be0 #1594 Option to use old style of getlocalx, setlocalx with underscore 2021-02-11 12:51:00 +01:00
Jindra Petřík
ac15728b9d #1594 Option to disable AS3 P-code indentation, label on separate line 2021-02-11 12:34:46 +01:00
Jindra Petřík
66b0d0bb13 Fixed #1227 AS3 avoid recursion (stackoverflow) caused by newfunction instruction 2021-02-11 11:10:56 +01:00
Jindra Petřík
df482b5343 newclass instruction has §§ prefix 2021-02-11 10:35:41 +01:00
Jindra Petřík
5659a78a12 Fixed: #1188 AS3 reorder traits if one slot/const references another 2021-02-10 22:27:43 +01:00
Jindra Petřík
665d3c1fad use {} static initializer only when referenced later trait 2021-02-10 21:34:05 +01:00
Jindra Petřík
58eb1f38da const can reference other property 2021-02-10 21:02:46 +01:00
Jindra Petřík
c573e57976 Fixed: #1188 AS3 Static initializer - init slot/const only when not referencing other property 2021-02-10 20:47:23 +01:00
Jindra Petřík
9e9e52e845 Fixed: #1186 Missing import when item is fully qualified 2021-02-10 19:42:57 +01:00
Jindra Petřík
add1c7ef1e cls.newInstance() causing warnings replaced with cls.getDeclaredConstructor().newInstance() 2021-02-10 18:36:39 +01:00
Jindra Petřík
bd2db44682 BigObject removed as it causes only warnings during compilation and is not used. 2021-02-10 18:23:39 +01:00
Jindra Petřík
b2fd1c0dc5 Fixed #1185 AS3 Incorrect imports in obfuscated files 2021-02-10 18:22:05 +01:00
Jindra Petřík
273173771f Fixed AS3 getslot/setslot in certain situations 2021-02-10 15:24:43 +01:00
Jindra Petřík
f9fc9998f3 Fixed: #1088 ECMA Number to string conversion 2021-02-10 10:08:43 +01:00
Jindra Petřík
1c142ff42d Fixed: AS1/2 script export to single file maintains script order 2021-02-10 07:48:15 +01:00
Jindra Petřík
c327c99198 AS3 pcode - Use Undefined as default keyword for value kind 2021-02-10 07:01:42 +01:00
Jindra Petřík
fcd39050b7 Fixed: AS3 getslot/setslot, getglobalscope instruction 2021-02-09 22:15:12 +01:00
Jindra Petřík
485dabc2d2 Fixed: AS3 p-code traits of bodys of inner methods 2021-02-09 19:25:43 +01:00
Jindra Petřík
b7ee8d73ca Fixed: AS3 inner functions scope (setslot/getslot) 2021-02-09 18:52:25 +01:00
Jindra Petřík
a97f57c40f Fixed: AS3 break loop in catch clause 2021-02-09 18:33:26 +01:00
Jindra Petřík
0f53d86459 removed accidentally left debug info 2021-02-09 13:20:39 +01:00
Jindra Petřík
c61f31b692 Fixed: AS3 p-code parser adding ;trait comment to last instruction 2021-02-08 20:15:19 +01:00
Jindra Petřík
acc2d9a26f AS3 p-code more RAbcDasm like: Void keyword instead of Undefined for optional parameters and slot/const values 2021-02-08 20:15:19 +01:00
Jindra Petřík
2392a5227c AS3 P-code: do not show Undefined() in slot/const value 2021-02-08 20:15:19 +01:00
Jindra Petřík
b8982238c6 AS3 P-code: allow not using parenthesis on True(),False(),Null(),Undefined() 2021-02-08 20:15:19 +01:00
Jindra Petřík
03fbce1d0f AS3 P-code: allow not using commas (old syntax),
allow oldstyle lookupswitch syntax
2021-02-08 20:15:19 +01:00
Jindra Petřík
ab3bb3b15e AS3 P-code: try has (optional) end keyword, and is located at the bottom after code.
setlocalx/getlocalx have aliases setlocal_x/getlocal_x
2021-02-08 20:15:19 +01:00
Jindra Petřík
a8d1f2b293 Fixed #1195 this keyword in functions outside class 2021-02-08 20:15:19 +01:00
Jindra Petřík
c595c5b240 unnamed exception 2021-02-08 20:15:19 +01:00
Jindra Petřík
e811268c92 DeobfuscatorSimpleOld - use instructions debugline, debugfile, debug, not 2021-02-08 20:15:19 +01:00
Jindra Petřík
189be5f1af fix AVM2DeobfuscatorJumps - no replacing jump when on exception start 2021-02-08 20:15:19 +01:00
Jindra Petřík
16c2ec01ea try in if fix 2021-02-08 20:15:19 +01:00
Jindra Petřík
ebc8e86323 break detection fix,
do..while fix
2021-02-08 20:15:19 +01:00
Jindra Petřík
c7dfcc71de precontinues detector fix 2021-02-08 20:15:19 +01:00
Jindra Petřík
59af3294c9 Fixed showing register assignment of exception on catch in catch. 2021-02-08 20:15:19 +01:00
Jindra Petřík
914a2bb701 minor try improvement 2021-02-08 20:15:19 +01:00
Jindra Petřík
14403e034b ignore true/false in &&,|| on variable 2021-02-08 20:15:19 +01:00
Jindra Petřík
a579bf1e3f AS3 deobfuscator - fixed handling &&, ||. But it might be slower now :-(. 2021-02-08 20:15:19 +01:00
Jindra Petřík
5d6f4f560a AS3 deobfuscator - remove handling &&, ||. It must be implemented better, this causes problems. 2021-02-08 20:15:19 +01:00
Jindra Petřík
56b196f0dd Fix AS3 deobfuscator damaged in 59042fb8 2021-02-08 20:15:19 +01:00
Jindra Petřík
e24f3b6d40 try..catch break detection fix 2021-02-08 20:15:19 +01:00
Jindra Petřík
8637d16022 AS3: Merged continues in try..catch 2021-02-08 20:15:19 +01:00
Jindra Petřík
45436d7232 not using exception end as alternate entry, fix tests 2021-02-08 20:15:19 +01:00
Jindra Petřík
bca83c3bb4 try..catch vs loops 2021-02-08 20:15:19 +01:00
Jindra Petřík
7644eddfd3 try to improve try..catch vs loops 2021-02-08 20:15:19 +01:00
Jindra Petřík
72f0c66aa7 ignoring && true, || false 2021-02-08 20:15:19 +01:00
Jindra Petřík
d1d1d7ba58 try..catch..finally: fix empty exception list 2021-02-08 20:15:19 +01:00
Jindra Petřík
32aa76f0f3 Fix try..catch..finally when there is no exit from try block. 2021-02-08 20:15:19 +01:00