Commit Graph

1750 Commits

Author SHA1 Message Date
Jindra Petřík
59042fb825 AS3 deobfuscator - use pop on simple values as deobfuscatepop 2021-02-06 13:48:59 +01:00
Jindra Petřík
ae119b7201 Fixed AS3 deobfuscator on &&, || operators 2021-02-06 09:43:03 +01:00
Jindra Petřík
619ef52790 Fixed AS3: try..catch in do..while vs do..while in try..catch 2021-02-06 08:42:52 +01:00
Jindra Petřík
3883a607db Fixed #735 AS3 - index out of bounds in deobfuscator 2021-02-05 19:30:08 +01:00
Jindra Petřík
a945f876a3 Do not pop stack in try 2021-02-05 18:31:44 +01:00
Jindra Petřík
e12d65cfbe AS3 Fix and/or in try clause 2021-02-05 18:30:26 +01:00
Jindra Petřík
372f392721 AS3 try..catch..finally fixes 2021-02-05 18:05:25 +01:00
Jindra Petřík
69e8a8cb65 AS3 deobfuscator - remove push simple, not, pop. 2021-02-05 13:33:10 +01:00
Jindra Petřík
7decf7eb20 GraphViz graph diplay - exception ends marked on end of previous part.
Lines of exception edges are dashed.
2021-02-05 13:22:31 +01:00
Jindra Petřík
9c6b46ba79 #349 AS3 - better handling of declarations 2021-02-04 21:36:09 +01:00
Jindra Petřík
041decaab1 added air as3 test
as3 decompile tests moved to special directory
2021-02-04 19:24:53 +01:00
Jindra Petřík
c05eb514e1 properly remove temp register of dot parent operator 2021-02-04 18:53:00 +01:00
Jindra Petřík
b7eedd3174 not inlining setlocal..getlocal, better increment/decrement property support 2021-02-04 18:25:26 +01:00
Jindra Petřík
2be1c6e07a fixed assembly generator 2021-02-04 18:15:46 +01:00
Jindra Petřík
0ad661acbc Fixed - AS3 deobfuscator in some cases - removing zerojumps and null pushes again
Improper try not using stack.
2021-02-03 22:18:37 +01:00
Jindra Petřík
0b9940d300 AS3 allow exception start/end to not match instruction boundary 2021-02-03 19:55:24 +01:00
Jindra Petřík
603a49261b AS3 deobfuscator of registers parsing of exception targets 2021-02-03 09:32:35 +01:00
Jindra Petřík
322991be68 register usage detection - do not walk dead code 2021-02-03 07:27:22 +01:00
Jindra Petřík
bfd750874b renamed new as3 test swfs to have as3 prefix and unique SWF name 2021-02-03 07:08:13 +01:00
Jindra Petřík
9c3273ca97 renamed new as3 test swfs to have as3 prefix and unique SWF name 2021-02-03 07:07:22 +01:00
Jindra Petřík
7918817809 improved local register usage detection / try..catch..finally 2021-02-02 22:30:50 +01:00
Jindra Petřík
51ceb60ea4 Try..catch..finally in ASC2 - correct default branch detection 2021-02-02 20:31:06 +01:00
Jindra Petřík
a91d96405b Fixed: Incorrectly colliding class names detection on script private classes 2021-02-02 20:18:30 +01:00
Jindra Petřík
c985e3e402 Better namespace handling 2021-02-02 19:27:29 +01:00
Jindra Petřík
c7b42da8c1 Fixed: Get property dups and register usage for namespaces 2021-02-02 18:03:16 +01:00
Jindra Petřík
e649d08a08 Fixed: Try..catch.finally vs loops 2021-02-02 09:42:38 +01:00
Jindra Petřík
28650d40fb Fixed: Dot parent operator not detected in some cases 2021-02-01 19:17:54 +01:00
Jindra Petřík
709e2c1205 Postincrement/decrement property in ASC2 2021-02-01 12:51:00 +01:00
Jindra Petřík
b6ddb79009 Preincrement/decrement propety in ASC2 2021-02-01 12:27:59 +01:00
Jindra Petřík
31812ec1d0 Precontinue detector handles do..while properly. 2021-02-01 09:37:29 +01:00
Jindra Petřík
9bf258c528 Fixed diplicate refs on graph creation 2021-02-01 09:08:58 +01:00
Jindra Petřík
dc1ef96e70 Fixed and+dowhile on ASC2 - precontinue can use stack. 2021-02-01 06:30:11 +01:00
Jindra Petřík
df3fde1f96 Fixed precontinue detector - incorrectly merged ifs 2021-01-31 21:34:33 +01:00
Jindra Petřík
4e0cd56a24 usage of exception in catch through register 2021-01-31 20:57:39 +01:00
Jindra Petřík
5214703d58 try..catch..finally of SWFTools AS3Compile 2021-01-31 20:18:25 +01:00
Jindra Petřík
adf153e13a Improved tests.
Fixed try..catch..finally.
2021-01-31 15:52:22 +01:00
Jindra Petřík
ed5fdc313d push value in finally return fix 2021-01-31 11:30:27 +01:00
Jindra Petřík
660e353eed try..catch..finally in ASC2 2021-01-31 11:11:16 +01:00
Jindra Petřík
a1bb35ba1c better try..catch..finally detection 2021-01-31 09:13:36 +01:00
Jindra Petřík
b2b9b51301 putting Jacoco code coverage back in 2021-01-29 22:24:51 +01:00
Jindra Petřík
dbad866812 correct continue in if handling,
move continue down if possible (invert expression of if when needed)
2021-01-29 20:14:32 +01:00
Jindra Petřík
81d212011f Dup in call fix 2021-01-29 19:13:13 +01:00
Jindra Petřík
daac69711c Fixed switch local reg not properly recognized in some cases 2021-01-29 19:01:19 +01:00
Jindra Petřík
6ca0fcf152 Fixed ASC2 §§push of function calls before returning from a method 2021-01-29 11:16:16 +01:00
Jindra Petřík
e9f484e735 add §§push if something left on stack before ExitItem (return, throw) 2021-01-29 11:07:03 +01:00
Jindra Petřík
2092a38e12 DataProvider in tests for ASC2 compiled SWF 2021-01-29 10:53:53 +01:00
Jindra Petřík
ca3df10b28 removed TestDup
flex vs asc2 compiled tests
2021-01-29 10:31:44 +01:00
Jindra Petřík
2e1b8870e0 update license header year 2021-01-29 08:59:28 +01:00
Jindra Petřík
31e2b84347 string concatenation in logger inspection 2021-01-29 08:56:18 +01:00
Jindra Petřík
da55406ca8 remove unused imports 2021-01-29 08:48:46 +01:00