Crate hlbc_decompiler

Source
Expand description

The decompiler used to get haxe sources back from the bytecode definitions. More info on how everything works in the wiki.

The decompiler takes bytecode elements as input and outputs ast structures that can be displayed.

Modules§

ast
A simple representation for the Haxe source code generated by the decompiler
fmt
Functions to render the ast to a string

Functions§

decompile_class
Decompile a class with its static and instance fields and methods.
decompile_code
Decompile a function code to a list of Statements. This works by analyzing each opcodes in order while trying to reconstruct scopes, contexts and intents.
decompile_function
Decompile a function out of context