From 809ed6bf8d83961c68b6ad1b8fefa54fd74387ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 2 Jan 2021 09:24:03 +0100 Subject: [PATCH 1/3] Adding List of AS3 instructions [ci skip] Generated through commandline arguments ffdec.jar -doc -type as3.pcode.instructions -out as3_pcode_instructions.en.html -locale en --- docs/as3_pcode_instructions.en.html | 1817 +++++++++++++++++++++++++++ 1 file changed, 1817 insertions(+) create mode 100644 docs/as3_pcode_instructions.en.html diff --git a/docs/as3_pcode_instructions.en.html b/docs/as3_pcode_instructions.en.html new file mode 100644 index 000000000..ca717d3aa --- /dev/null +++ b/docs/as3_pcode_instructions.en.html @@ -0,0 +1,1817 @@ + + + + + + + + + + + + + AVM2 Instruction list + +

AVM2 Instruction list

+ + + From f147b31f5bae0554a5075012dca6b7ad4997f628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 3 Jan 2021 12:21:12 +0100 Subject: [PATCH 2/3] Move FAQ to wiki [ci skip] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc18db58f..52b45963b 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ You might look for some answers to the old issues in our issue tracker on [https://www.free-decompiler.com/flash/issues](https://www.free-decompiler.com/flash/issues) But it's currently read only. -See [Frequently Asked Questions (FAQ)](FAQ.md) before you try to contact me. +See [Frequently Asked Questions (FAQ) in wiki](https://github.com/jindrapetrik/jpexs-decompiler/wiki/FAQ) before you try to contact me. ### Email contact Emergency contact to JPEXS developer is `jindra.petrik@gmail.com`. From 80aebaa8ba9af8957b693610a58a7487e5b0f858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 3 Jan 2021 12:21:51 +0100 Subject: [PATCH 3/3] FAQ moved to wiki [ci skip] --- FAQ.md | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 FAQ.md diff --git a/FAQ.md b/FAQ.md deleted file mode 100644 index 2b258075c..000000000 --- a/FAQ.md +++ /dev/null @@ -1,36 +0,0 @@ -# FFDec Frequently asked questions (FAQ) - -## "Invalid SWF file, wrong signature" on opening file with .swf extension, what's that? -This message means that you are opening file which is not really the SWF. FFDec can process only valid SWF files - those which can be played in Flash player. SWF file extension is not enough - also file structure must be compliant -with SWF standard - it needs to start with FWS, CWS or ZWS bytes. If you are 100% sure there is something SWF related inside your file, then it probably needs some kind of -decryption/unpacking routine first. Go where you got the file and search for an unpacking routine (loader), maybe you find something. FFDec cannot help you with this since decryption -routine can be literally anything. - -## Can I add new scripts? Or classes? -No, this feature is not implemented, sorry. Editing is limited to existing scripts or classes. - -## Direct editation of ActionScript gives me an error, what can I do? -Direct editation of AS is experimental and in most cases not even working - it might damage your SWF file. We won't fix that, sorry. - -## Can you implement new feature for me? -No, we no longer work on the decompiler. But decompiler is opensource, you can implement feature yourself. - -## But there are bugs, you will surely fix that -No, sorry, we no longer fix any bugs. Ask somebody else. - -## Is there a documentation for FFDec library? -No, there isn't one. - -## What's that thing with § character in scripts? -A) Variable identifiers which have invalid characters in their name are displayed in the form `§name§` (for example `§s-r/rg§` ). -This allows easier direct editation. - -B) Also, there exist few special instructions/functions with prefix §§: -- `§§push(item)` - pushes item on stack -- `§§pop()` - pops from stack -- `§§dup()` - duplicates value on stack -- `§§goto(label)` - jump to address -- `§§constant(number)` - unresolved constant (unknown constantpool) - -These functions usually pop out when you try to decompile some obfuscated / unstructured code. -You can try Settings/Automatic deobfuscation option for handle some kinds of this code properly.