C# Class SWFProcessing.SWFModeller.ABC.IO.AbcReader

An ABC bytecode parser. Parses high level objects and values. Actual bytecodes are disassembled separately via the Method class.
Mostra file Open project: WeeWorld/Swiffotron Class Usage Examples

Public Methods

Method Description
Read ( byte bytecode, StringBuilder readLog ) : AbcCode

Turns bytecode into an AbcCode object.

Private Methods

Method Description
ReadClasses ( ) : void

Read in the class definitions.

ReadConstantPool ( ) : void

Reads in all the constant values referenced from the bytecode.

ReadMetadata ( ) : void

Read in the metadata, if any.

ReadMethodBodies ( ) : void

Read in the method bytecode bodies

ReadMethods ( ) : void

Read in all the methods and functions.

ReadScriptDefs ( ) : void

Read in the definitions for the code block.

ReadString ( ) : string
ReadTrait ( ) : Trait

Read in a trait, which are like object properties.

ResolveReferences ( ) : void

Method Details

Read() public method

Turns bytecode into an AbcCode object.
public Read ( byte bytecode, StringBuilder readLog ) : AbcCode
bytecode byte The bytecode, as chopped out of a SWF.
readLog System.Text.StringBuilder Ignored in release builds. This logs /// on every constant value read for unit test inspection.
return AbcCode