nx_shipcheck_gate.nx
buildroot/runtime/nx_shipcheck_gate.nx
about
nx_shipcheck_gate.nx -- proves the ship-complete orphan detector's teeth. DOGFOODS the D001
gate base (nx_gate_verdict). Fixtures are INJECTED roots under /tmp so the gate never reads or
writes production surfaces; the debt filer tooth INJECTS argecho (F872 pattern) so selftest
never writes the production debt plane. Teeth: planted-orphan detection per class (exact
counts), clean-fixture NEGATIVE (all zero, GREEN), determinism (two scans byte-equal counts),
injectable-filer receipts, clean-fixture files NOTHING.
license_tier: ORIGINAL /tmp fixtures only. No hw writes (Rule 26).
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 11 | const GT_TAB: i64 = 9 |
| 12 | const GT_NL: i64 = 10 |
| 13 | const GT_HASH: i64 = 35 |
| 14 | const GT_BUF: i64 = 8192 |
| 15 | const GT_LOGB: i64 = 65536 |
| 16 | const GT_PATH: i64 = 1024 |
| 17 | const GT_MODE_F: i64 = 420 |
| 18 | const GT_MODE_D: i64 = 493 |
| 19 | const GT_B256: i64 = 256 |
| 20 | const GT_EXITRED: i64 = 3 |
| 21 | const GT_EXEFAIL: i64 = 127 |
functions
| 29 | func gt_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 31 | func gt_cat(d: *u8, o: i64, s: *u8) -> i64 |
| 39 | func gt_tab(d: *u8, o: i64) -> i64 { d[o] = GT_TAB as u8; return o + 1 } called by 1: fx_build |
| 40 | func gt_nl(d: *u8, o: i64) -> i64 { d[o] = GT_NL as u8; return o + 1 } called by 1: fx_build |
| 42 | func gt_path2(d: *u8, root: *u8, rel: *u8) -> *u8 |
| 50 | func gt_wf(path: *u8, content: *u8) -> i64 |
| 59 | func gt_wrel(root: *u8, rel: *u8, content: *u8) -> i64 |
| 65 | func gt_le(b: *u8, i: i64, n: i64) -> i64 |
| 72 | func gt_col(b: *u8, ls: i64, le: i64, want: i64, sp: *i64) -> i64 called by 1: gt_resolve_argecho |
| 88 | func gt_span_lit(b: *u8, s: i64, e: i64, lit: *u8) -> i64 |
| 96 | func gt_resolve_argecho() -> i64 |
| 130 | func fx_build(root: *u8, dirty: i64) -> i64 |
| 231 | func gt_spawn(av: *i64) -> i64 |
| 245 | func gt_run(verb: *u8, root: *u8) -> i64 |
| 254 | func gt_runf(root: *u8) -> i64 |
| 264 | func gt_load(root: *u8) -> i64 |
| 283 | func gt_has(sub: *u8) -> i64 |
| 297 | func gt_findfrom(start: i64, sub: *u8) -> i64 |
| 311 | func gt_t3eq() -> i64 |
| 330 | func main(argc: i64, argv: *i64) -> i64 |