code wiki / _hdl_build / nx_stackaudit_submit.nx

nx_stackaudit_submit.nx

buildroot/runtime/_hdl_build/nx_stackaudit_submit.nx

1793 B26 linesdepth 6pulls 10 transitivereach 0 importersview sourcekind tooltopic stackaudit
docsdependenciesstructsconstsfunctions

about

nx_stackaudit_submit.nx -- routes the stack-audit dashboard THROUGH THE PUBLISHER (the no-bypass LAW intake), mirroring nx_ciq_submit. Dest = FAMILY-GATED /wiki/family/ (authz level>=2): the page is an ops-internal surface (rung statuses + evidence-log paths) so it ships behind the family gate by default; the operator can promote it public later. Policy "outward" => the governed loop HOLDS at stage until the operator approval token exists (the publish checkpoint) -- no direct push, by construction. Pre-req: nx_stackaudit_census run (emits web_assets/stack_audit.html, gate 8/8). license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_publisher.nx nx_stackaudit_submit.nx

imports: nx_syscalls.nxnx_publisher.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sw_ sys_write pub_submit pub_init pub_submit_to sys_mmap pub_sha_file sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_final blk_set_byte ↻ sha256_compress ↻ sys_munmap pub_hexd pub_build_rec fa_cat fa_appendz fa_append sys_mmap ↻ sys_openat_append sys_flock fa_write_all sys_write ↻ sys_close ↻ fa_len

structs

none

consts

none

functions

11func sw_(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 1: main calls 1: sys_write
12func sn_(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); 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} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
14func main() -> i64