Skip to main content

Module disassembler

Module disassembler 

Source
Expand description

This module contains the disassembler for DATEX, which converts DXB bytecode into a human-readable assembly-like string representation e.g. from 24, 73, 1, 73, 2(1+2) to

ADD
  UINT_8 1
  UINT_8 2

Modules§

assertions
options

Structs§

InstructionTree
A generic tree structure for instructions with child instructions.

Enums§

InnerInstructions

Functions§

disassemble_body
Converts a raw DXB body into a list of disassembled Instruction values
disassemble_instruction_tree_to_string
Converts an instruction tree in to human-readable disassembled instructions string
get_disassembled_with_options
Converts a DXB block to a human-readable assembly string representation
get_instruction_tree
Converts an instruction iterator into a list of disassembled Instruction values
get_instruction_tree_from_list
Converts a list of Instruction values into an instruction tree
print_disassembled
Converts a DXB block to a human-readable assembly string representation and prints it to stdout
print_disassembled_with_options
Converts a DXB block to a human-readable assembly string representation and prints it to stdout