Chaitanya Mutyala wrote:
> Is there a known Flash/SWF decomipler available for FLash 9?
> I checked with the manitu group that supports Action Script
> Viewer,<http://www.buraks.com/asv/index.html>and their version would
> not be out for a few months.

Tamarin, Adobe's recently open-sourced virtual machine that underlies 
ActionScript 3, has a AVM bytecode disassembler.  You can get it here:

   http://www.mozilla.org/projects/tamarin/

Patrick Mineault wrote a blog entry a couple of months back about how to 
get up and going with the source--you'll also need a C++ compiler for 
the platform that you're building on.  Read that here:

   http://www.5etdemi.com/blog/archives/2007/01/as3-decompiler/

If you don't happen have to a C++ compiler handy, in nearly all cases 
you can get go and download an appropriate one for free, either the 
open-source GNU one, Apple's XCode or Microsoft's Visual C++ .NET 
Express, depending on your particular platform.

Unfortunately, the output in an Assembler-like syntax corresponding to 
the ABC intermediate representation opcodes used by the AVM rather than 
immediately re-compilable ActionScript 3.

This shouldn't be too difficult to read and understand if you've used 
FLASM or some other low-level assembly language before, but might be 
less useful if you're looking to recover a high-level representation of 
the code.

Given the amount of data kept in the MIR opcodes though, it looks like 
it wouldn't be terribly difficult for decompilers coming out down the 
line to decompile directly to re-compilable ActionScript 3.

Jim Cheng
effectiveUI

Reply via email to