code wiki / (root) / _offc_deref_store_probe.nx

_offc_deref_store_probe.nx

buildroot/runtime/_offc_deref_store_probe.nx

3155 B115 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind probetopic offc
docsdependenciesstructsconstsfunctions

about

Matrix probe for T#sovereign-deref-store-001. Tests `*ptr = expr` across every binding source for `ptr`. Each case writes a known sentinel and reads it back; main returns (case_a_works | case_b_works<<1 | ...) so each bit indicates whether nxc.elf produced a working store for that case. Expected: 0xFF (all 8 cases return true) under a correct compiler. Anything less means at least one *ptr = expr path is silently dropping the store. Sentinels: case k writes 100 + k.

dependencies 1 imports · 0 importers

syscalls.nx _offc_deref_store_probe.nx

imports: syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main case_a case_b returns_ptr case_c case_d case_e returns_ptr ↻ case_f returns_ptr ↻ case_g returns_ptr ↻ case_h returns_ptr_via_arg

structs

none

consts

none

functions

18func returns_ptr() -> *i64 {
23func returns_ptr_via_arg(buf: *i64) -> *i64 {
called by 1: case_h
29func case_a(buf_in: *i64) -> i64 {
called by 1: main
37func case_b() -> i64 {
called by 1: main calls 1: returns_ptr
45func case_c() -> i64 {
called by 1: main
54func case_d() -> i64 {
called by 1: main
64func case_e() -> i64 {
called by 1: main calls 1: returns_ptr
73func case_f() -> i64 {
called by 1: main calls 1: returns_ptr
83func case_g() -> i64 {
called by 1: main calls 1: returns_ptr
92func case_h() -> i64 {
called by 1: main calls 1: returns_ptr_via_arg
101func main() -> i64 {