code wiki / _hdl_build / _sig_index_authored.nx
_sig_index_authored.nx
buildroot/runtime/_hdl_build/_sig_index_authored.nx
about
AUTHORED BY THE NISHI BUILDER (nx_module_author sig-index template) -- S3 component catalog.
Typed signature table of every func in runtime/*.nx; tutoring: specs/2026-06-09-tutoring-code-synthesis-rung1.md
STRUCT-FREE dirent walk by LAW: NxDirent struct-on-stack miscompiles under nx_cc_sovereign
(sig11, issue filed 2026-06-09, repro _si_walk_probe vs _si_walk_probe2) -- raw-offset helpers instead.
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 6 | func si_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: si_build |
| 7 | func _si_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 8 | func _si_num(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;k=1}; while m>0{t[k]=48+(m%10);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 } |
| 9 | func _si_fputs(fd2: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd2,s,n); return 0 } |
| 10 | func _si_fnum(fd2: i64, v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(fd2,"-" as *u8,1)}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48;k=1}; while m>0{t[k]=48+(m%10);m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(fd2,bb,k); return 0 } |
| 11 | func si_ws(c: i64) -> i64 { if c == 32 { return 1 } if c == 9 { return 1 } if c == 13 { return 1 } if c == 10 { return 1 } return 0 } called by 1: si_scan |
| 12 | func si_tok_eq(buf: *u8, i: i64, e: i64, t: *u8) -> i64 called by 1: si_type_code |
| 22 | func si_type_code(buf: *u8, i: i64, e: i64) -> i64 |
| 34 | func si_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 48 | func si_scan(buf: *u8, n: i64, recs: *i64, maxrec: i64, pool: *u8, poolmax: i64, state: *i64) -> i64 |
| 158 | func si_build(recs: *i64, maxrec: i64, pool: *u8, poolmax: i64, state: *i64, fstate: *i64) -> i64 |
| 207 | func si_name_eq(pool: *u8, off: i64, name: *u8) -> i64 called by 1: si_find |
| 213 | func si_find(recs: *i64, m: i64, pool: *u8, name: *u8) -> i64 |
| 218 | func si_check(recs: *i64, m: i64, pool: *u8, name: *u8, arity: i64, ret: i64, t1: i64) -> i64 |
| 228 | func main() -> i64 |