code wiki / (root) / nx_rw_emptystr.nx

nx_rw_emptystr.nx

buildroot/runtime/nx_rw_emptystr.nx

637 B18 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic rw
docsdependenciesstructsconstsfunctions

about

nx_rw_emptystr.nx -- DELIBERATE TRAP WITNESS (pack-rules vet). Tactic under test: the bare "" empty-string literal (documented 2026-07-09: ("" as *u8)[0] != 0 -- aliases the next literal). Exit 0 iff "" yields a real NUL-first byte AND the neighbor literal is intact. While ACTIVE this is EXPECTED to exit nonzero. Not a defect. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_rw_emptystr.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 sys_exit

structs

none

consts

none

functions

8func main(argc: i64, argv: *i64) -> i64
calls 1: sys_exit