Jindra Petřík
a9733926cf
better AS 1/2 unresolved const handling
2018-05-24 19:42:44 +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
[email protected]
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
[email protected]
bf59e9e5fb
Jump to the found text after pcode search fixed
2016-12-25 14:22:01 +01:00
[email protected]
11088fec36
#1308 Search by all P-code files
2016-12-19 22:21:53 +01:00
Jindra Petřík
1db9dcab0a
Issue #1289 AS1/2 direct editation - variables used in inner functions must not be stored in local registers
2016-10-03 20:37:55 +02:00
Jindra Petřík
6781d86a6c
Reformat and organize imports
2016-08-06 07:21:58 +02:00
Jindra Petřík
afc2c05cbb
Introduce end-of-line normalization
2016-07-23 21:19:44 +02:00
[email protected]
80b000b82b
move file offset to the left, setting+button to hide it
2016-07-17 14:14:26 +02:00
[email protected]
ababe9010f
spanish translation + something with the line endings
2016-06-03 15:43:13 +02:00
[email protected]
8e6da8081f
#1241 Do not show original bytes when they are the same as the "rebuilt" bytes
2016-05-29 20:14:22 +02:00
[email protected]
2e41a0ef62
#1241 Settings to show original bytes
2016-05-29 14:25:04 +02:00
[email protected]
db0d490fc9
#1241 File content is different to what FFDEC shows in HEX view near instructions
2016-05-29 12:32:50 +02:00
[email protected]
81c3df016d
Issue #1244 Allow to compile back Unknown instructions
2016-05-29 10:00:33 +02:00
[email protected]
d000457330
Issue #1244 Remove unknown actions when deobfuscation is enabled
2016-05-29 07:23:16 +02:00
[email protected]
aa117d7c75
Issue #1244 Incorrect showing of NOP instructions
2016-05-28 22:43:08 +02:00
[email protected]
508c618b37
netbeans inpector fixes
2016-04-29 20:54:38 +02:00
[email protected]
577bdd4844
add missing overrides + some other small changes
2016-04-28 22:09:44 +02:00
Jindra Petřík
a7390c083d
Logging only cause of Exception in case of ExecutionException.
...
(no futureTask, etc. in error logs)
2016-03-05 08:09:09 +01:00
Jindra Petřík
22d1047f47
Merge origin/master
2016-03-05 07:57:10 +01:00