code wiki / _hdl_build / nx_xlate_gap_gate.nx
nx_xlate_gap_gate.nx
buildroot/runtime/_hdl_build/nx_xlate_gap_gate.nx
about
nx_xlate_gap_gate.nx -- regression gate for the NXASM-SYSCALL-XLATE-GAP class: every syscall once
filed as untranslated (mkdirat-34, renameat2-276 via the 2026-06-06 table rows; fsync-74 and
unlinkat-263 via the proven direct-x86 escape hatch) must BEHAVE at runtime under the CURRENT
blessed toolchain. Each row is a discriminating pair where possible (valid input succeeds AND
invalid input fails with the right errno), so a pass cannot be a silent no-op.
Durable: XLATE-ROW + XLATE-GATE lines -> knowledge/status/xlate_gap_gate.log. Exit 0 iff all rows
PASS. Owner: Engineer. Resolves sentinel key NXASM-XLATE-GAP. license_tier: ORIGINAL
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
| 9 | const AT_FDCWD: i64 = 0 - 100 |
functions
| 10 | func _p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 11 | func _fs(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 12 | func _fn(fd: i64, v: i64) -> i64 |
| 25 | func xg_unlink(p: *u8) -> i64 { return __syscall(263, AT_FDCWD, p, 0, 0, 0, 0) } |
| 26 | func xg_rmdir(p: *u8) -> i64 { return __syscall(263, AT_FDCWD, p, 512, 0, 0, 0) } // unlinkat AT_REMOVEDIR(0x200) |
| 29 | func xg_clean() -> i64 |
| 36 | func xg_row(lfd: i64, name: *u8, ok: i64, rc1: i64, rc2: i64) -> i64 |
| 44 | func main() -> i64 |