code wiki / (root) / nx_rw_castidx.nx

nx_rw_castidx.nx

buildroot/runtime/nx_rw_castidx.nx

560 B15 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic rw
docsdependenciesstructsconstsfunctions

about

nx_rw_castidx.nx -- TRAP WITNESS (pack-rules vet). Tactic under test: indexing the result of an `as *T` cast in ONE expression ((raw) as *i64)[2] -- the documented 2026-07-09 miscompile (returns pointer-magnitude garbage). Exit 0 iff the inline form reads the correct value. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

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

structs

none

consts

none

functions

7func main(argc: i64, argv: *i64) -> i64