tasm_lib

Function maybe_write_debuggable_vm_state_to_disk

Source
pub fn maybe_write_debuggable_vm_state_to_disk(vm_state: &VMState)
Expand description

If the environment variable “TRITON_TUI” is set, write the initial VM state to file vm_state.json.

This file can be used to debug the program using the Triton TUI:

triton-tui --initial-state vm_state.json