code wiki / (root) / nx_util_gate.nx

nx_util_gate.nx

buildroot/runtime/nx_util_gate.nx

1962 B43 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_util_gate.nx -- the nx_util gate as PURE NISHILANG, orchestrated by the sovereign nx_sh (no bash). Replaces bench/gate_nx_util.sh. Compiles nx_util_test.nx, assembles, links, runs the KAT, checks the verdict -- every step via nx_sh fork/exec/redirect. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_sh.nx nx_util_gate.nx

imports: nx_syscalls.nxnx_sh.nx

imported by: nobody (leaf or entry point)

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

main gp sys_write sys_openat_wr nx_sh_run_to sys_fork sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 wait_exit_code nx_sh_argv sys_mmap ↻ sys_close nx_sh_run_quiet sys_fork ↻ sys_openat_wr ↻ sys_dup3 ↻ sys_mmap ↻ sys_execve ↻ sys_exit ↻ sys_wait4 ↻ wait_exit_code ↻ nx_sh_run sys_fork ↻ sys_mmap ↻ sys_execve ↻ sys_exit ↻ sys_wait4 ↻ wait_exit_code ↻

structs

none

consts

none

functions

11func gp(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 calls 1: sys_write
13func main() -> i64