code wiki / (root) / nx_rw_ptrchain.nx

nx_rw_ptrchain.nx

buildroot/runtime/nx_rw_ptrchain.nx

561 B17 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic rw
docsdependenciesstructsconstsfunctions

about

nx_rw_ptrchain.nx -- TRAP WITNESS (pack-rules vet). Tactic under test: chained pointer arithmetic `buf + a + b` used directly as an address (pack rule 10 says broken; hoist offset). Exit 0 iff the chained form addresses the correct byte. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

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

structs

none

consts

none

functions

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