SWF9DIS wiki page

This page describes the ongoing work to create a SWF9 disassembler. This involves tools to analyze the instruction set of the new Flash 9 virtual machine (AVS2), and encoding those rules into a disassembler program.

A disassembler is being written in C++ by Asger Alstrup. The tools below help to extract the binary output of the Flex compiler and compare two code fragments differentially.

A nearly complete disassembler exists as part of the Tamarin project.

Analysis Tools

Some tools to extract compiled SWF9 code and differentially compare two programs are described in SWF9Tools

Opcodes

A partial list of opcodes we have discovered is listed here SWF9Opcodes, however most of the new information is going straight into the disassembler program code.