Commit Graph

1542 Commits

Author SHA1 Message Date
Jindra Petřík
eded349823 removeNullPushes .. optimize call getImportantOffsets - only when instruction removed 2018-01-14 14:18:23 +01:00
Jindra Petřík
91a18f1dea diamond operator 2018-01-14 14:14:58 +01:00
Jindra Petřík
ab836b0d19 Removed check for PushIntegerTypeIns as it is just interface to group pushshort,pushbyte,pushint,etc... 2018-01-14 14:14:32 +01:00
Jindra Petřík
2ce278f575 reformat 2018-01-14 14:12:39 +01:00
Jindra Petřík
dbf38cc63e Merge pull request #48 from MultiplyByZer01/dev
Deobfuscate no-op push instructions
2018-01-14 14:06:44 +01:00
Jindra Petřík
cbabbe6c44 Merge branch 'master' into dev
# Conflicts:
#	CHANGELOG.md
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggyFile.java
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggySwf.java
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/conversion/IggySwfBundle.java
#	src/com/jpexs/decompiler/flash/gui/MainFrameMenu.java
2018-01-13 22:41:04 +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
Jindra Petřík
0cb15e9c76 Saving files before refreshing line endings 2018-01-07 17:18:39 +01:00
honfika@gmail.com
cdf72b6798 - [#1402] SVG export: certain font characters not exported properly fixed 2 2017-06-22 14:44:51 +02:00
honfika@gmail.com
25b54993d4 - [#1402] SVG export: certain font characters not exported properly fixed 2017-06-22 14:04:14 +02:00
honfika@gmail.com
b7ec1ac830 #1401 SVG export: duplicate pattern IDs fixed 2017-06-22 13:15:43 +02:00
Zoltán Kurucz
7f0ba33355 Prevent impossible pushshort pcode generation edit actionscript 2017-05-06 01:43:25 +02:00
Gauthier Billot
f49ee84fc9 Normalize line endings 2017-05-05 15:35:09 +02:00
honfika@gmail.com
6033c90630 Wrtie log message when can't initialize flash panel 2017-05-01 12:28:28 +02:00
honfika@gmail.com
64293e3813 [#1365] Allow to configure all types of configuration settings from command line 2017-04-08 10:19:02 +02:00
honfika@gmail.com
27a192570b SVG import bound fix 2 2017-04-01 21:13:17 +02:00
honfika@gmail.com
188ca27a2d SVG import bound fix 2017-04-01 20:20:30 +02:00
honfika@gmail.com
d2504e5e71 SVG importer rounding problem fixed 2017-04-01 17:25:49 +02:00
honfika@gmail.com
276ea972f2 svg import resize fix 2017-04-01 15:25:51 +02:00
honfika@gmail.com
f847e384d2 Bitmap export of buggy gradient records fixed (now same as in flash) 2017-04-01 14:51:08 +02:00
honfika@gmail.com
29f5c17767 Focal radial gradient raw edit fix 2017-04-01 11:31:10 +02:00
honfika@gmail.com
bbb04921d6 Merge origin/dev into dev 2017-04-01 08:15:51 +02:00
honfika@gmail.com
b7d1cfce81 [#1367] Raw edit conditional type fix. 2017-04-01 08:15:35 +02:00
honfika
318fd69bb2 Merge pull request #49 from MultiplyByZer01/insert-on-empty
Prevent crash when calling insertInstruction() on empty MethodBody
2017-03-12 11:38:18 +01:00
MultiplyByZer0
2c85203985 Prevent crash when calling insertInstruction() on empty MethodBody
If an AVM2Code object is empty, and we attempt to insert an instruction, the method will execute code.get(-1) and throw an exception. This commit handles the situation.
2017-03-11 21:58:27 -05:00
MultiplyByZer0
e8e598dc6c Correct deobfuscation for labels
The deobfuscator will no longer incorrectly remove the following code:

pushtrue
label1:pop
2017-02-28 15:49:21 -05:00
honfika@gmail.com
ceffd8bdb5 [#1354] Various FLA export problem fixes 2017-02-27 12:28:11 +01:00
MultiplyByZer0
0b65cb3c6b Deobfuscate no-op push instructions
Some obfuscators will scatter the instructions:

pushtrue
pop

or:

pushfalse
pop

randomly throughout the P-code. As any push instruction immediately followed by a pop instruction must be a no-op, they are removed.
2017-02-11 21:37:31 -05:00
honfika@gmail.com
3e99d19a1d [#1348] Cannot properly export frame with cyrillic symbols to SVG 2017-02-06 13:51:49 +01:00
honfika@gmail.com
86f19ff07b #1332 Do not render image tags with internal viewer 2017-01-03 10:19:33 +01:00
honfika@gmail.com
b13bd62e5f #1333 Exporting sprites as swf files 2016-12-31 17:06:45 +01:00
honfika@gmail.com
cf58f71f10 AVM2 execution fixes 2016-12-30 21:19:48 +01:00
honfika@gmail.com
9dc4752c04 UI thread invoke fixes/improvements 2 2016-12-28 12:57:06 +01:00
honfika@gmail.com
725ecedb82 pcode search fix: method names 2016-12-27 22:28:06 +01:00
honfika@gmail.com
fc4f552354 pcode search fix (jump from result list) when there are multipe classes in a scriptpack 2016-12-27 20:48:35 +01:00
honfika@gmail.com
93082c1eb3 AS3 pcode search improvements 2016-12-27 19:52: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
0850723795 AS3 PCode serach 2016-12-25 20:22:24 +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
9ecb2e4a81 search: small improvement/fix 2016-12-24 22:56:41 +01:00
honfika@gmail.com
407d1c2235 AS search moved to lib 2016-12-24 22:00:27 +01:00
honfika@gmail.com
c3fc9785e3 #1240 JPEXS does not use multiple threads for decompilation on Text Search: AS2 is also multi thread now, work status improvements during search 2016-12-24 21:06:23 +01:00
honfika@gmail.com
5f2ffd0089 Multi thread AS search 2016-12-24 18:52:09 +01:00
Jindra Petřík
7783c0c518 iggy 32 bit not supported yet 2016-12-24 12:58:25 +01:00
honfika@gmail.com
7c8228f76d #591 Translation: Catalan 2016-12-20 19:10:43 +01:00
honfika@gmail.com
11088fec36 #1308 Search by all P-code files 2016-12-19 22:21:53 +01:00
honfika@gmail.com
13db993f13 MP3 playing improved: block read 2016-12-19 15:00:44 +01:00
honfika@gmail.com
080862b91f MP3 playing improved 2016-12-19 14:40:16 +01:00
honfika@gmail.com
2bc3eef8e7 #1323 Audio playback fails 2016-12-18 23:31:07 +01:00