Commit Graph

1606 Commits

Author SHA1 Message Date
Jindra Petřík
2c3b9354aa #1457 AS3 switch without lookupswitch ins detection 2020-04-25 17:11:07 +02:00
Jindra Petřík
83d42253c4 DefineBits (with JPEGTables) tags export fixed 2018-05-28 20:42:49 +02:00
Jindra Petřík
02660f396e AS1/2 deobfuscation of empty stack pops - returning Undefined instead 2018-05-28 18:00:32 +02:00
Jindra Petřík
f48c92df27 AS1/2 Delete operator with nonIdentifier parameters (e.g. spaces or obfuscated) 2018-05-27 22:42:26 +02:00
Jindra Petřík
f61772c8f7 For in break detection with inner switch statement 2018-05-27 22:10:54 +02:00
Jindra Petřík
6c998254b9 - Setting of limit of executed instructions during AS1/2 deobfuscation
- Default limit of maximum executed instructions during AS1/2 deobfuscation raised to 10000
2018-05-27 19:39:02 +02:00
Jindra Petřík
d5069acb2c - Fixed §§push after continue - should be before (usually on obfuscated code) 2018-05-27 18:41:33 +02:00
Jindra Petřík
0dea317d9f - AS1/2 Fixed callmethodaction arguments
- AS1/2 Using brackets instead of §§ syntax in callmethodaction
2018-05-27 17:33:15 +02:00
Jindra Petřík
d138c61072 - AS1 slash syntax support (decompilation, direct editation)
- AS1/2 Using eval, set functions on obfuscated names instead of §§ syntax where applicable
2018-05-27 16:52:55 +02:00
Jindra Petřík
6ec124f71a Fixed using temporary registers after for..in (causing §§pop instructions, etc.) 2018-05-27 10:49:42 +02:00
Jindra Petřík
36fa23c11e Merge branch 'graphviz-detect' into dev 2018-05-26 18:38:29 +02:00
Jindra Petřík
811f7a3b77 Better continue in for / goto detection. 2018-05-26 18:37:25 +02:00
Jindra Petřík
1dd96e6c53 Warning panel on scripts containing §§ instructions (Tip for Settings/Automatic deobfuscation) 2018-05-25 19:03:20 +02:00
Jindra Petřík
a9733926cf better AS 1/2 unresolved const handling 2018-05-24 19:42:44 +02:00
Jindra Petřík
db5750a8f7 show definefunctions in separate clusters in graphs 2018-05-24 15:31:32 +02:00
Jindra Petřík
7810a84ad2 graphlib for detecting code structure on graph view 2018-05-24 15:31:32 +02:00
Jindra Petřík
cdd1acb1f9 More universal GraphExporter
Log exceptions on copy to clipboard graph
2018-05-24 15:31:30 +02:00
Jindra Petřík
70760add45 GraphViz dot path as configuration option 2018-05-24 15:31:30 +02:00
Jindra Petřík
d5c814f79f Option to export script (AS1/2) as Graphviz P-code 2018-05-24 15:31:30 +02:00
Jindra Petřík
7ee96beead PcodeGraphVizExporter (Currently only for AS1/2) 2018-05-24 15:31:30 +02:00
Jindra Petřík
7cd52dc324 Making makeGraph public in Graph so Graphviz exporter can access it better 2018-05-24 15:31:29 +02:00
Jindra Petřík
666dcad86e Issue 1449 - Turkish translation by Osman ÖZ 2018-04-01 11:56:09 +02:00
Jindra Petřík
eb9959a171 Fix: HAS_OPTIONAL flag in AVM2 code displayed twice 2018-02-10 22:31:04 +01:00
Jindra Petřík
2b9fc72baf Correctly handling TagScript on getASMs 2018-02-04 08:35:20 +01:00
Jindra Petřík
2f9c44db30 AS1/2: DefineFunction push registers cleanup - remove insideDefineFunction1 parameter,
execute the cleanup for whole script as decompiler adapter,
fixing bugs in the cleanup and refactoring.
2018-01-31 07:24:45 +01:00
Jindra Petřík
a7f457ad9d AS1/2: break on the end of for..in loop 2018-01-30 07:39:16 +01:00
Jindra Petřík
eca98106d2 AS1/2: Properly handling of Flash7 scripts exported to Flash5/6 - ActionDefineFunction local registers 2018-01-29 22:13:59 +01:00
Jindra Petřík
da3cf1454c AS1/2 Try..catch with error types support - decompilation and direct editation 2018-01-28 16:08:20 +01:00
Jindra Petřík
f524523762 correct jump pos,
removed old comments
2018-01-28 13:30:54 +01:00
Jindra Petřík
813d411ccc universalloop extends whileloop
better while loop detection
2018-01-28 13:10:25 +01:00
Jindra Petřík
d898ec2076 AS1/2 switch detection - better handling position of default branch 2018-01-28 12:03:10 +01:00
Jindra Petřík
455d30bb2d Switch variant generator 2018-01-28 11:54:47 +01:00
Jindra Petřík
2e31ef23a0 AS1/2 switch detection fix - causing two default labels 2018-01-28 10:04:38 +01:00
Jindra Petřík
7380c3c604 AS1/2 switch detection fix - default clause also used when detecting break 2018-01-28 10:03:39 +01:00
Jindra Petřík
654fd8ba6d AS1/2 switch detection refactoring to make it more readable 2018-01-28 07:32:20 +01:00
Jindra Petřík
faac405da2 fix nullpointer on ActionCloneSprite
ActionScriptObject - return Undefined for missing getMember
2018-01-27 21:19:44 +01:00
Jindra Petřík
08b02ae83c ActionRandomNumber fixed for nonpositive numbers 2018-01-27 20:43:42 +01:00
Jindra Petřík
e862df59c1 AS1/2: Displaying script path on invalid jump error log 2018-01-27 20:25:07 +01:00
Jindra Petřík
eb30c18fba AS1/2 break statement decompilation in for..in loops fixed 2018-01-27 17:59:03 +01:00
Jindra Petřík
08751b9524 AS2 classes tests reorganised 2018-01-27 13:38:52 +01:00
Jindra Petřík
c0e6e728d9 AS2 class detector - checking classes only in DoInitAction tags 2018-01-27 11:34:51 +01:00
Jindra Petřík
a904fdb3a3 AS2 class detector - checking other class variant 2018-01-27 09:45:01 +01:00
Jindra Petřík
205b9cda14 AS2 class detector - ignoring onFalse section, which can lead to invalid location 2018-01-25 21:20:45 +01:00
Jindra Petřík
7baaa1f1ff AS2 class detector - check if else clause is empty, allow some code without push 2018-01-23 07:03:10 +01:00
Jindra Petřík
da586b105f - New AS2 class detector
- Reference helper class moved to helper package.
2018-01-22 22:06:40 +01:00
Jindra Petřík
def79bd7a7 AS2 class detection - Fix seeing class where isn't 2018-01-21 18:35:37 +01:00
Jindra Petřík
c9e7992081 MyEntry Serializable 2018-01-21 18:23:30 +01:00
Jindra Petřík
2f6d0e66ac AS1/2 direct editation - reordering of large (>256 items) constantpools 2018-01-21 13:03:20 +01:00
Jindra Petřík
9e2497f2b8 Fix wrong constant indices when ConstantIndex copy 2018-01-21 12:23:25 +01:00
Jindra Petřík
091a2e1226 - Sorting constantpool based on ActionPush position
- ActionPush constant for maximum index of constant of type 8 push.
2018-01-21 10:59:19 +01:00