code wiki / _hdl_build / nx_probe_ptrarg_live.nx

nx_probe_ptrarg_live.nx

buildroot/runtime/_hdl_build/nx_probe_ptrarg_live.nx

889 B15 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probetopic probe
docsdependenciesstructsconstsfunctions

about

nx_probe_ptrarg_live.nx -- LIVE WITNESS for pointer-vs-scalar param type checking (2026-08-05). This BUILDS -- and that is BY DESIGN, not a gap: integer LITERALS are exempt from the 2026-08-01 call-arg type check because the corpus uses literals as null/sentinel pointers (nx_parse.nx VK_CONST_INT exemption; only a TYPED value carries a real claim about pointerness). The ENFORCED direction has its own witness: nx_probe_ptrint_live.nx (pointer-into-integer REFUSED). The reverse TYPED direction (i64 var into *u8) is DELIBERATELY DISABLED pending the sys_munmap arg-1 residue (57/70 corpus rejects, unexplained -- see nx_parse.nx flip-line comment). license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

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

structs

none

consts

none

functions

10func pt_ptr(p: *u8) -> i64 { return p[0] as i64 }
called by 1: main
11func main(argc: i64, argv: *i64) -> i64
calls 2: pt_ptrsys_exit