code wiki / _hdl_build / nx_evattest_gate.nx
nx_evattest_gate.nx
buildroot/runtime/_hdl_build/nx_evattest_gate.nx
about
nx_evattest_gate.nx -- proves the signed-attestation layer accepts a genuine operator sign-off and
REFUSES every way of faking one. The clause it defends (`require_human`) is the single thing standing
between "an agent certified its own work" and a PROVEN verdict, so every refusal path here is
negative-controlled: a gate that only ever demonstrates acceptance has proven nothing.
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_evattest.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
| 9 | func w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 10 | func wn(v: i64) -> i64 { let t: *u8=sys_mmap(28); var m: i64=v; var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} let b: *u8=sys_mmap(28); var i: i64=0; while i<k{b[i]=t[k-1-i];i=i+1} sys_write(1,b,k); return 0 } |
| 11 | func ck(pass: i64, label: *u8, fails: *i64) -> i64 |
| 16 | func hexout(src: *u8, n: i64, dst: *u8, off: i64) -> i64 called by 1: main |
| 28 | func cat(dst: *u8, off: i64, s: *u8) -> i64 called by 1: main |
| 35 | func main() -> i64 |