Commit Graph
647 Commits
Author SHA1 Message Date
Jindra Petřík e9cd0e6ad0 Fixed: #1569 AS3 direct editation - incorrect slot names handling (IndexOutOfBounds) 2021-02-24 19:55:59 +01:00
Jindra Petřík b82d6b62fe Script search history fixes - reading AS3 results 2021-02-24 19:55:59 +01:00
Jindra Petřík 11c3c2a8a7 Fixed: AS3 decompilation: increment/decrement on properties 2021-02-24 19:55:59 +01:00
Jindra Petřík bffc5d4ff0 Fixed: AS3 decompilation: try..catch..finally suborder when debugline info not present 2021-02-24 19:55:59 +01:00
Jindra Petřík 599d22bb6e AS3 P-code editation checking all referenced labels exist
Fixed: AS3 P-code editation - only first try offset was saved when multiple try with same label
2021-02-24 19:55:59 +01:00
Jindra Petřík bac1c799be AS3 direct editation - do not add popscope twice when continue/break as last statement in catch block 2021-02-24 19:55:59 +01:00
Jindra Petřík b1818d0600 Fixed #1610 AS3 P-code editation - true/false/undefined/null has value_index same as value_kind 2021-02-24 19:55:59 +01:00
Jindra Petřík 5192f96505 using defined constants instead of magic numbers 2021-02-24 19:55:59 +01:00
Jindra Petřík a3d73608cb Fixed: #1610 AS3 unnecessary adding namespaces 2021-02-24 19:55:59 +01:00
Jindra Petřík 8a6c4cf35c Fixed: AS3 with statement decompilation 2021-02-24 19:55:59 +01:00
Jindra Petřík a36ca2df20 Fixed: AS3 direct editation - popscope in catch on continue and break 2021-02-24 19:55:59 +01:00
Jindra Petřík 5c95ca24b8 Fixed: AS3 direct editation - using finally clause for continue and break 2021-02-24 19:55:59 +01:00
Jindra Petřík 86f2f7fdce AS3 direct editation: try..finally generates pushbyte -1, not pushbyte 255 2021-02-24 19:55:59 +01:00
Jindra Petřík ce91b877e3 AS3 direct editation - do not initialize slots on newactivation 2021-02-24 19:55:59 +01:00
Jindra Petřík e414e1919d Fixed: AS3 direct editation - unary minus (negate) compiled as 0 - value 2021-02-24 19:55:59 +01:00
Jindra Petřík b03cad4f90 Fixed: AS3 direct editation - coerce in setproperty 2021-02-24 19:55:59 +01:00
Jindra Petřík b54b51d206 Removing AS3 scripts ("ScriptPacks") 2021-02-24 19:55:59 +01:00
Jindra Petřík e12eb2af6e Fixed default version of ABC 2021-02-24 19:55:59 +01:00
Jindra Petřík 1bacb111fe Fixed: Cannot properly cancel script searching 2021-02-12 11:08:07 +01:00
Jindra Petřík ab34d92351 Fixed #1596 Infinite loop when sorting traits according to dependencies 2021-02-12 10:44:42 +01:00
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 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 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 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 59af3294c9 Fixed showing register assignment of exception on catch in catch. 2021-02-08 20:15:19 +01:00