Commit Graph

299 Commits

Author SHA1 Message Date
Jindra Petřík
f5d4403a83 Improved for continue / goto detection 2021-01-18 19:19:36 +01:00
Jindra Petřík
819a739397 GraphTargetVisitorInterface for visiting model 2021-01-09 13:00:30 +01:00
Jindra Petřík
ac66eb740b Fixed: Correct AS/P-code matching in editor for AS3 after using deobfuscation 2021-01-04 10:10:23 +01:00
Jindra Petřík
ca21337d9f java 9 compliance
- base64, bytearrtohex, installed fonts, xml sax parser
2021-01-01 01:07:43 +01: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
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
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
cdd1acb1f9 More universal GraphExporter
Log exceptions on copy to clipboard graph
2018-05-24 15:31:30 +02: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
d898ec2076 AS1/2 switch detection - better handling position of default branch 2018-01-28 12:03:10 +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
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
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
Jindra Petřík
e436dccb07 Direct editation of AS2 classes - minor changes to make it closer to original compiler 2018-01-21 10:07:05 +01:00
Jindra Petřík
d8fca459cb Direct editation of AS2 classes - methods do not require ActionDefineFunction2 2018-01-21 09:28:48 +01:00
Jindra Petřík
6c3b497798 Direct editation of AS2 classes - save methods before variables, as in Flash CS6 2018-01-21 09:21:35 +01:00
Jindra Petřík
8009d9e7f6 AS2 classes
- maintain order of variables, maintain order of methods,
variables before methods
- stub for getters/setters detection
2018-01-21 08:20:39 +01:00
Jindra Petřík
4a64670494 AS2 Class detection - Switch instance reg and class reg 2018-01-20 21:46:57 +01:00
Jindra Petřík
1e16fbb6e0 ActionScript 2 - better class detection 2018-01-20 21:17:06 +01:00
Jindra Petřík
2bf7597cea update license headers 2018-01-16 20:24:33 +01:00
Jindra Petřík
de1440b7a7 ActionDeobfuscator - isFakeName changed to call isValidName because
it failed in some cases.
2018-01-07 18:53:30 +01:00
Jindra Petřík
a8c21cb3b4 Fixed removeIncludedActions - do..while changed to while(true)
as it was not working when firstItem was excluded and thus removed.
Statement "continue" in do..while checks condition immediately
and then terminating loop, because firstItem is now the second
of the list. Other excluded items then won't be removed.
2018-01-07 18:47:49 +01:00
honfika@gmail.com
8779d5d78c #1327 P-code editing: error message and syntax highlighting fixed when instruction name contains upper cased letter 2016-12-26 12:53:32 +01:00
honfika@gmail.com
bf59e9e5fb Jump to the found text after pcode search fixed 2016-12-25 14:22:01 +01:00
honfika@gmail.com
11088fec36 #1308 Search by all P-code files 2016-12-19 22:21:53 +01:00