Commit Graph
4998 Commits
Author SHA1 Message Date
Jindra Petřík 0cae5a7f13 changelog 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 47e9857acb ignore amf3 test exported bin file 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 8a75991f86 hasdeclaration fix in GUI for nonexisting multinames 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 99ef113dab Fixed AS3 method display in GUI when method name is null 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
Jindra Petřík e37e6b7d9a AS3 deobfuscator - remove push simple, not, pop. 2021-02-08 20:15:19 +01:00
Jindra Petřík b7bb8e9ff8 GraphViz graph diplay - exception ends marked on end of previous part.
Lines of exception edges are dashed.
2021-02-08 20:15:19 +01:00
Jindra Petřík 43885a1a40 #349 AS3 - better handling of declarations 2021-02-08 20:15:19 +01:00
Jindra Petřík 6f19d50572 added air as3 test
as3 decompile tests moved to special directory
2021-02-08 20:15:19 +01:00
Jindra Petřík b966f9bee5 properly remove temp register of dot parent operator 2021-02-08 20:15:19 +01:00
Jindra Petřík 866c32be83 not inlining setlocal..getlocal, better increment/decrement property support 2021-02-08 20:15:19 +01:00
Jindra Petřík e7e3ed3e5c fixed assembly generator 2021-02-08 20:15:19 +01:00
Jindra Petřík 18eb89dcad Fixed - AS3 deobfuscator in some cases - removing zerojumps and null pushes again
Improper try not using stack.
2021-02-08 20:15:19 +01:00
Jindra Petřík 7a22586d02 changelog 2021-02-08 20:15:19 +01:00
Jindra Petřík a0022ff3b1 AS3 allow exception start/end to not match instruction boundary 2021-02-08 20:15:19 +01:00
Jindra Petřík 3df1ac57d8 AS3 deobfuscator of registers parsing of exception targets 2021-02-08 20:15:19 +01:00
Jindra Petřík 37376661f4 register usage detection - do not walk dead code 2021-02-08 20:15:19 +01:00
Jindra Petřík ad1a0ccdc8 renamed new as3 test swfs to have as3 prefix and unique SWF name 2021-02-08 20:15:19 +01:00