code wiki / _hdl_build / _nxasm_bisect.nx

_nxasm_bisect.nx

buildroot/runtime/_hdl_build/_nxasm_bisect.nx

2868 B76 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic nxasm
docsdependenciesstructsconstsfunctions

about

_nxasm_bisect.nx -- R1-T1-004 dimension bisect: nxasm from a SOVEREIGN parent across the env x output-path x input-path matrix on the md5-pinned good .s. The lane combination (PATH env + lane paths) reproduces rc=6; the old probe combination (empty env + alt paths) gave rc=0 -- this matrix isolates WHICH dimension flips it. Rows: BISECT case=<n> env=<e> out=<o> in=<i> rc=<rc>. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx _nxasm_bisect.nx

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

main bs_case bs_spawn sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 bs_w sys_write bs_n sys_mmap ↻ sys_write ↻ sys_exit ↻

structs

none

consts

none

functions

9func bs_w(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: bs_case calls 1: sys_write
10func bs_n(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)) 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: bs_case calls 2: sys_mmapsys_write
13func bs_spawn(a1: *u8, a2: *u8, envmode: i64) -> i64
40func bs_case(idx: i64, a1: *u8, a2: *u8, envmode: i64) -> i64
called by 1: main calls 3: bs_spawnbs_wbs_n
56func main() -> i64
calls 2: bs_casesys_exit