code wiki / _hdl_build / nx_metric_integrity_gate.nx

nx_metric_integrity_gate.nx

buildroot/runtime/_hdl_build/nx_metric_integrity_gate.nx

8388 B138 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_metric_integrity_gate.nx

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 m_apply m_novcount sys_mmap ↻ m_apply ↻ m_in gn sys_exit

structs

none

consts

16const M_NPROBE: i64 = 4
17const M_MAXOPS: i64 = 8
18const M_MAXSET: i64 = 32
19const M_BOUND: i64 = 1500000000 // 1.5e9; BOUND^2 < i64 max, so values <= BOUND never overflow

functions

24func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
26func m_apply(sops: *i64, sargs: *i64, slens: *i64, idx: i64, x: i64, ovf: *i64) -> i64
42func m_in(sigs: *i64, n: i64, cand: *i64, w: i64) -> i64
49func m_novcount(sops: *i64, sargs: *i64, slens: *i64, nset: i64, Fraw: *i64, nF: i64, heed_ovf: i64) -> i64
74func main(argc: i64, argv: *i64) -> i64