nx_boundscheck_constidx.nx
buildroot/runtime/nx_boundscheck_constidx.nx
about
nx_boundscheck_constidx.nx -- STANDING WITNESS for the COMPILE-TIME leg of LN3 raw-pointer
provenance (sibling of nx_boundscheck.nx; same family as nx_litprobe / nx_constidx_probe).
buf[64] on a 64-byte allocation is a provable out-of-range access. Under the DEFAULT build
this compiles clean and runs (reading one byte of neighboring memory -- the silent C-class
behavior, kept as the hazard record). Under `--ptrprov` the compiler REFUSES it at parse
time with the 5W+H provenance diagnostic -- nx_boundscheck_gate asserts both directions and
that the refusal names the provenance rule, not some other error.
license_tier: ORIGINAL No hw writes (Rule 26).
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
| 13 | const BCC_ALLOC: i64 = 64 |
functions
| 15 | func main() -> i64 calls 1: sys_mmap |