Commit Graph
1917 Commits
Author SHA1 Message Date
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
[email protected] 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
[email protected] 3e99d19a1d [#1348] Cannot properly export frame with cyrillic symbols to SVG 2017-02-06 13:51:49 +01:00
[email protected] 86f19ff07b #1332 Do not render image tags with internal viewer 2017-01-03 10:19:33 +01:00
[email protected] b13bd62e5f #1333 Exporting sprites as swf files 2016-12-31 17:06:45 +01:00
[email protected] cf58f71f10 AVM2 execution fixes 2016-12-30 21:19:48 +01:00
[email protected] 9dc4752c04 UI thread invoke fixes/improvements 2 2016-12-28 12:57:06 +01:00
[email protected] 725ecedb82 pcode search fix: method names 2016-12-27 22:28:06 +01:00
[email protected] fc4f552354 pcode search fix (jump from result list) when there are multipe classes in a scriptpack 2016-12-27 20:48:35 +01:00
[email protected] 93082c1eb3 AS3 pcode search improvements 2016-12-27 19:52: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] 0850723795 AS3 PCode serach 2016-12-25 20:22:24 +01:00
[email protected] bf59e9e5fb Jump to the found text after pcode search fixed 2016-12-25 14:22:01 +01:00
[email protected] 9ecb2e4a81 search: small improvement/fix 2016-12-24 22:56:41 +01:00
[email protected] 407d1c2235 AS search moved to lib 2016-12-24 22:00:27 +01:00
[email protected] 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
[email protected] 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
[email protected] 7c8228f76d #591 Translation: Catalan 2016-12-20 19:10:43 +01:00
[email protected] 11088fec36 #1308 Search by all P-code files 2016-12-19 22:21:53 +01:00
[email protected] 13db993f13 MP3 playing improved: block read 2016-12-19 15:00:44 +01:00
[email protected] 080862b91f MP3 playing improved 2016-12-19 14:40:16 +01:00
[email protected] 2bc3eef8e7 #1323 Audio playback fails 2016-12-18 23:31:07 +01:00
[email protected] fba49bb876 use dropdown control for enum type values in raw editor 2016-12-18 12:14:38 +01:00
[email protected] b8f88aea79 use red color when bitmap is not available for bitmapfill (probably some fallback in flash player for erroneous bitmap fills) 2016-12-14 19:43:06 +01:00
[email protected] a44221b363 Character tag removing simplified/fixed 2016-12-13 12:46:53 +01:00
Jindra Petřík b7ab24b0a5 iggy - writing ABC fix 2016-12-12 15:03:52 +01:00
Jindra Petřík a851d7c765 Merge branch 'iggy_improve' into dev
# Conflicts:
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggyDeclStrings.java
#	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/IggyText.java
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/conversion/IggySwfBundle.java
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/conversion/IggyToSwfConvertor.java
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/conversion/SwfToIggyConvertor.java
2016-12-12 14:57:55 +01:00
Jindra Petřík 5b9c7bcbd8 Saving files before refreshing line endings 2016-12-12 14:43:21 +01:00
Jindra Petřík 22695b985b Iggy - reading and writing ABC 2016-12-12 12:14:11 +01:00
Jindra Petřík 7725a77ad5 Iggy writing fix.
Iggy texts reading / basic editation.
2016-12-12 11:00:46 +01:00
Jindra Petřík e1616d2e2f swf list error handling 2016-12-11 15:09:36 +01:00
Jindra Petřík f420c687de iggy bundle - better looping tags 2016-12-11 15:08:50 +01:00
Jindra Petřík 107f7fcd5e remove unneeded methods 2016-12-11 15:08:03 +01:00
Jindra Petřík a47b57ca5d Iggy - sequence end offset fix 2016-12-05 06:48:08 +01:00
Jindra Petřík 9305cbebcc Merge pull request #45 from jindrapetrik/iggyplus
Editing fonts in Iggy files
2016-12-04 19:17:04 +01:00
Jindra Petřík 160444590a organize imports 2016-12-04 19:07:21 +01:00
Jindra Petřík 8fe30defde remove garbage comments 2016-12-04 19:06:00 +01:00
Jindra Petřík 1894606551 Saving correct font data offsets 2016-12-04 18:57:10 +01:00
Jindra Petřík 0403e847f5 no magic shapes offsets 2016-12-04 10:30:34 +01:00
Jindra Petřík b889c5cb37 no magic offsets in IggyFont 2016-12-04 10:14:31 +01:00
Jindra Petřík 0d21e9b96a grouping index,
more universal saving entries
2016-12-04 09:31:52 +01:00
Jindra Petřík 460aad9dfc Inluding offset and type info in index.
Exact byte match of result file reached.
2016-12-04 08:21:45 +01:00
Jindra Petřík 5bb0d8ac83 Iggy - generating Index finished
Other various Iggy fixes
2016-12-03 21:59:42 +01:00
[email protected] 2690b658d0 #1313 Font Change 2016-12-03 15:56:00 +01:00
[email protected] 820ef1a5f1 #1314 user interface 2016-12-03 13:06:55 +01:00
Jindra Petřík 72af4e6e93 put advances back as were,
fix font data size
2016-12-03 09:32:43 +01:00
Jindra Petřík 91dabac158 advances fix 2016-12-03 09:22:03 +01:00