Commit Graph

1793 Commits

Author SHA1 Message Date
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
253b53dde1 fix tests 2021-02-10 10:18:40 +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
1b505080de assembly generator uses \r\n 2021-02-09 18:01:52 +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
edb910917d fix tests 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
ebb0c9a8c5 tests 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
86df7c4798 added 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
Jindra Petřík
fa3b507a17 AS3 deobfuscator - use pop on simple values as deobfuscatepop 2021-02-08 20:15:19 +01:00
Jindra Petřík
930e956ad5 Fixed AS3 deobfuscator on &&, || operators 2021-02-08 20:15:19 +01:00
Jindra Petřík
9e07695427 Fixed AS3: try..catch in do..while vs do..while in try..catch 2021-02-08 20:15:19 +01:00
Jindra Petřík
2a3811cc30 Fixed #735 AS3 - index out of bounds in deobfuscator 2021-02-08 20:15:19 +01:00
Jindra Petřík
b8fbac7505 Do not pop stack in try 2021-02-08 20:15:19 +01:00
Jindra Petřík
0e813bd896 AS3 Fix and/or in try clause 2021-02-08 20:15:19 +01:00
Jindra Petřík
34b69e83c3 AS3 try..catch..finally fixes 2021-02-08 20:15:19 +01:00