code wiki / _hdl_build / nx_landmine_harvest.nx
nx_landmine_harvest.nx
buildroot/runtime/_hdl_build/nx_landmine_harvest.nx
about
nx_landmine_harvest.nx -- Ingests the landmine registry into the sovereign knowledge base, adding new documented bugs while skipping duplicates and retired entries.
dependencies 4 imports · 0 importers
imports: nx_gate_gn.nxnx_known_issue_store.nxnx_seg_store.nxnx_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
| 16 | const K_MAGIC_4096: i64 = 4096 |
| 17 | const K_MAGIC_1800: i64 = 1800 |
| 18 | const K_MAGIC_16384: i64 = 16384 |
| 19 | const K_MAGIC_2048: i64 = 2048 |
functions
| 21 | func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 22 | func tlen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 23 | func bputs(dst: *u8, off: i64, s: *u8) -> i64 { var o: i64=off; var i: i64=0; while s[i]!=(0 as u8){ dst[o]=s[i]; o=o+1; i=i+1 } return o } called by 1: process_line |
| 24 | func bcatn(dst: *u8, off: i64, src: *u8, from: i64, n: i64) -> i64 { var o: i64=off; var i: i64=0; while i<n { dst[o]=src[from+i]; o=o+1; i=i+1 } return o } called by 1: process_line |
| 25 | func ucase(dst: *u8, off: i64, src: *u8, from: i64, n: i64) -> i64 { var o: i64=off; var i: i64=0; while i<n { var c: i64=src[from+i] as i64; if c>=97 { if c<=122 { c=c-32 } } dst[o]=c as u8; o=o+1; i=i+1 } return o } called by 1: process_line |
| 26 | func find_tab(buf: *u8, from: i64, end: i64) -> i64 { var i: i64=from; while i<end { if buf[i]==(9 as u8){return i} i=i+1 } return 0-1 } called by 1: process_line |
| 27 | func line_end(buf: *u8, from: i64, blen: i64) -> i64 { var e: i64=from; while e<blen { if buf[e]==(10 as u8){return e} e=e+1 } return blen } called by 1: main |
| 28 | func streq_lit(buf: *u8, from: i64, n: i64, lit: *u8) -> i64 called by 1: process_line |
| 34 | func tok_end(idx: *u8, ilen: i64, from: i64) -> i64 { var e: i64=from; while e<ilen { if idx[e]==(9 as u8){return e} e=e+1 } return ilen } called by 1: idx_has |
| 36 | func is_tok(idx: *u8, from: i64, to: i64, id: *u8, idl: i64) -> i64 called by 1: idx_has |
| 41 | func idx_has(idx: *u8, ilen: i64, id: *u8, idl: i64) -> i64 |
| 52 | func process_line(buf: *u8, ls: i64, e: i64, idx: *u8, ilenp: *i64, keys: *i64, vals: *i64, nrecp: *i64) -> i64 |
| 92 | func main() -> i64 |