code wiki / _hdl_build / nx_mechanistic_ai_census_gate.nx

nx_mechanistic_ai_census_gate.nx

buildroot/runtime/_hdl_build/nx_mechanistic_ai_census_gate.nx

8071 B96 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_syscalls.nx nx_mechanistic_ai_census_gate.

imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write sys_mmap exists_file sys_openat_rd sys_close cap_path cap_name gn sys_exit

structs

none

consts

none

functions

17func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
19func exists_file(path: *u8) -> i64 { let fd: i64=sys_openat_rd(path); if fd>=0 { sys_close(fd); return 1 } return 0 }
called by 1: main
20func cap_name(i: i64) -> *u8
30func cap_path(i: i64) -> *u8
42func main() -> i64