/hlbc

Hashlink bytecode disassembler, analyzer, decompiler and assembler.

Primary LanguageRustMIT LicenseMIT

Hashlink bytecode tools


This repository contains a collection of Rust crates and cli tools to load, disassemble, decompile and analyze Hashlink bytecode.

Repository structure

  • data/ : Haxe source files to test the tools
  • hlbc/ : Core library to load and disassemble bytecode
  • hlbc-cli/ : CLI frontend for hlbc
  • hlbc-decompiler/ : Decompiler library
  • hlbc-derive/ : helper proc macros for hlbc
  • hlbc-gui/ : GUI to explore bytecode visually

Wiki

A wiki detailing the specifics of Hashlink bytecode is available here or by using the command wiki in the CLI.

Planned

  • C API

Credits

Development of this project would not have been possible without the hashlink source code. Some algorithms are directly derived from the original C code reading bytecode files.