code wiki / (root) / nx_model_port_registry_gate.nx

nx_model_port_registry_gate.nx

buildroot/runtime/nx_model_port_registry_gate.nx

3892 B74 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic model
docsdependenciesstructsconstsfunctions

about

nx_model_port_registry_gate.nx -- executed proof of the standard model-port registry. Verifies count, name lookup, format field, the format->driver dispatch, and PROVENANCE (liar-killed: every entry's loader organ must open on disk -- a registry that cites a non-existent loader is a lie). expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_model_port_registry.nx nx_model_port_registry_gate.nx

imports: nx_syscalls.nxnx_model_port_registry.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap mpr_init mpr_count gp sys_write gn sys_mmap ↻ sys_write ↻ mpr_lookup mpr_streq mpr_streq ↻ mpr_get mpr_open sys_openat_rd sys_close mpr_driver_for mpr_streq ↻ sys_exit

structs

none

consts

none

functions

7func gp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return sys_write(1, s, n) }
called by 1: main calls 1: sys_write
8func gn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
18func main(argc: i64, argv: *i64) -> i64