code wiki / _hdl_build / nx_meet_store_gate.nx

nx_meet_store_gate.nx

buildroot/runtime/_hdl_build/nx_meet_store_gate.nx

3656 B52 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic meet
docsdependenciesstructsconstsfunctions

about

nx_meet_store_gate.nx -- liar-kill gate for P4 (durable member/application store over the seg-store). Proves store -> read-back byte-exact, the meet:ids index tracks ids, an UPDATE (latest-value-wins) reflects the new record (PENDING -> MEMBER), an absent id reads -1, and a never-stored id is not indexed (teeth). Idempotent-safe on a persistent store. expect_exit: 0

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_meet_lib.nx nx_meet_store.nx nx_gate_verdict.nx nx_meet_store_gate.nx

imports: nx_syscalls.nxnx_meet_lib.nxnx_meet_store.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main mputs sys_write mlen 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 ↻ meet_store_put sys_mmap ↻ mcat ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_munmap ss_scan_seglist ss_len sys_mmap ↻ ss_cat ↻ ss_readall ↻ ss_r32 meet_idx_has mlen ↻

structs

none

consts

none

functions

10func eq_n(buf: *u8, len: i64, exp: *u8) -> i64
called by 1: main calls 1: mlen
17func main() -> i64