code wiki / _hdl_build / nx_eng_asm_scan_min_test.nx

nx_eng_asm_scan_min_test.nx

buildroot/runtime/_hdl_build/nx_eng_asm_scan_min_test.nx

1599 B39 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic eng
docsdependenciesstructsconstsfunctions

about

minimal: the ENGINEER scans real assembly and finds the live-across-call register. Known answer: 1 flag, register rax. -> exit 0.

dependencies 1 imports · 0 importers

nx_eng_asm_scan.nx nx_eng_asm_scan_min_test.nx

imports: nx_eng_asm_scan.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main eng_asm_scan sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close as_proc_line as_is_ws as_mnem_class as_match as_isalnum sys_mmap ↻ as_operand_reg as_reg_at as_match ↻ as_is_caller as_read as_is_caller ↻ as_write mt_puts mt_num as_regname tally

structs

none

consts

none

functions

5func mt_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main
6func mt_num(v: i64) -> i64
called by 1: main
14func tally(r: *i64, n: i64) -> i64
called by 1: main
20func main() -> i64