code wiki / _hdl_build / nx_pre_test.nx

nx_pre_test.nx

buildroot/runtime/_hdl_build/nx_pre_test.nx

1999 B42 linesdepth 22pulls 174 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_pre_test.nx -- run ONLY the surrogate preamble (no jQuery) with the BLK-ERR tracer, to isolate whether the offset-0 error is the preamble/engine interaction itself or something jQuery triggers. Prints errpos + probes typeof window/document/setTimeout after.

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_video_sniff.nx nx_video_sniff_fetch.nx nx_surrogate.nx nx_pre_test.nx

imports: nx_syscalls.nxnx_video_sniff.nxnx_video_sniff_fetch.nxnx_surrogate.nx

imported by: nobody (leaf or entry point)

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

main sg_new sys_mmap sg_seed sg_addc sg_add sg_slen sys_mmap ↻ sg_build_preamble sg_puts cw sys_write pnum cw ↻ sys_mmap ↻ sys_write ↻ js_set_rt_dbg js_rt_errpos_get

structs

none

consts

none

functions

9func cw(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: pnummain calls 1: sys_write
10func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
11func pnum(n0: i64) -> i64
called by 1: main calls 3: cwsys_mmapsys_write
22func main() -> i64