code wiki / _hdl_build / nx_modelfacts_gate.nx

nx_modelfacts_gate.nx

buildroot/runtime/_hdl_build/nx_modelfacts_gate.nx

6197 B126 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_modelfacts_gate.nx -- PROVE THE MODEL FACT EXTRACTOR: measured where real, -1 where absent, a binary blob can never wear a triangle count, truncation refuses to undercount. Fixtures are hand-built from the PUBLISHED grammars (GLB header+chunks, STL 84+50n equation, OBJ/PLY line grammar) -- not from our exporters, so a shared misreading cannot self-validate. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_modelfacts_lib.nx nx_modelfacts_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_modelfacts_lib.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap gv_head gv_puts sys_write sys_mmap ↻ gg_glb gg_copy gg_u32 mdl_probe mdl_starts mdl_nlen mdl_u32le mdl_align4 mdl_count mdl_nlen ↻ mdl_num_after mdl_nlen ↻ mdl_looks_obj mdl_lines mdl_lines ↻ gv_check gv_puts ↻ gg_u32 ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real

structs

none

consts

none

functions

10func gg_copy(dst: *u8, at: i64, s: *u8) -> i64
called by 1: gg_glb
16func gg_u32(dst: *u8, at: i64, v: i64) -> i64
called by 2: gg_glbmain
25func gg_glb(b: *u8, json: *u8, binlen: i64) -> i64
called by 1: main calls 2: gg_copygg_u32
44func main(argc: i64, argv: *i64) -> i64