1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! `ratasm` is a terminal IDE and debugger for x86_64 assembly.
//!
//! The crate is organised so that state, rendering, process management and the
//! debugger protocol stay independent of one another:
//!
//! - [`ui`] owns terminal lifecycle, layout and widgets and never mutates
//! application state.
//! - [`command`] names every action; nothing bypasses it.
//! - [`assembler`] drives the toolchain and parses what it says.
//! - [`debugger`] speaks GDB/MI and never touches the terminal.
//! - [`disassembler`] decodes machine code without needing a debugger.
//! - [`editor`] is pure text state with no rendering dependency.
//! - [`instruction`] holds static ISA knowledge shared by every panel.
//! - [`syscall`] embeds the Linux system call table taken from the kernel headers.
//! - [`process`] runs external tools without a shell and without zombies.
//! - [`logging`] redirects diagnostics to a file so the TUI keeps stdout.
//!
//! Every subsystem is usable without a terminal attached, which is what makes
//! the parsers, the build pipeline and the debugger testable in isolation.