code wiki / _hdl_build / nx_sov_guard_gate.nx
nx_sov_guard_gate.nx
buildroot/runtime/_hdl_build/nx_sov_guard_gate.nx
about
nx_sov_guard_gate.nx -- SOVEREIGN gate for the no-new-tsv guard.
T1 mixed dir (ok.tsv allowlisted, new.tsv NOT, notes.txt non-tsv) + allow=[ok.tsv] -> exactly 1 violation
(proves: new tsv CAUGHT, allowlisted PASSED, non-tsv IGNORED)
T2 clean dir (only ok.tsv) + allow=[ok.tsv] -> 0 violations (GREEN, neg-control)
T3 LIAR-KILL: mixed dir + EMPTY allowlist -> 2 violations (the guard isn't silently passing)
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_sov_guard.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
| none |
functions
| 11 | func gg_uw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func gg_touch(path: *u8) -> i64 { let fd: i64=sys_openat_wr(path, 0x1a4); if fd>=0 { sys_close(fd) } return 0 } |
| 13 | func gg_write(path: *u8, s: *u8, len: i64) -> i64 { let fd: i64=sys_openat_wr(path, 0x1a4); if fd>=0 { sys_write(fd,s,len); sys_close(fd) } return 0 } |
| 15 | func main(argc: i64, argv: *i64) -> i64 |