code wiki / (root) / nx_ivvguard_gate.nx

nx_ivvguard_gate.nx

buildroot/runtime/nx_ivvguard_gate.nx

14449 B233 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_ivvguard_gate.nx -- proves the IV+V beat safety predicates BEFORE any forking or deleting code is written (2026-08-07). Every case is a fabricated string; the gate has NO side effects at all. The NEGATIVE cases are the point: each one is a specific way a plausible-looking implementation would have been unsafe, so a passing run is evidence about the failure modes, not just the happy path. expect_exit: 0 license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_ivvguard.nx nx_gate_verdict.nx nx_syscalls.nx nx_ivvguard_gate.nx

imports: nx_ivvguard.nxnx_gate_verdict.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 nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ ivv_cmd_allowed ivv_exe_len ivg_ends_n ivg_len ivg_starts row gw ↻ ivv_wipe_allowed ivg_starts ↻ ivg_len ↻ ivv_is_green ivv_marker_hit ivg_len ↻ ivv_is_green2 ivv_match_counted sys_mmap ↻ ivv_find_count ivv_isdigit ivv_marker_hit ↻ ivg_len ↻ ivv_isdigit ↻ ivv_find_sub_n

structs

none

consts

none

functions

10func gw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: rowmain calls 1: sys_write
11func row(name: *u8, ok: i64, ctr: *i64) -> i64
called by 1: main calls 1: gw
17func main() -> i64