code wiki / _hdl_build / nx_probe_ptrint_live.nx

nx_probe_ptrint_live.nx

buildroot/runtime/_hdl_build/nx_probe_ptrint_live.nx

638 B14 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probetopic probe
docsdependenciesstructsconstsfunctions

about

nx_probe_ptrint_live.nx -- LIVE WITNESS for the ENFORCED param-type direction (2026-08-05): a value typed *u8 passed into an i64 parameter must BUILD-FAIL with `argument type mismatch`. REPRO: change pi_int(n) below to pi_int(b) and /api/build this target -> refusal expected. Kept VALID in-tree (compiler-root probe convention); the witness is the edit+build cycle. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_probe_ptrint_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 sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ pi_int sys_exit ↻

structs

none

consts

none

functions

7func pi_int(k: i64) -> i64 { return k + 1 }
called by 1: main
8func main(argc: i64, argv: *i64) -> i64