code wiki / _hdl_build / nx_connect_album_gate.nx

nx_connect_album_gate.nx

buildroot/runtime/_hdl_build/nx_connect_album_gate.nx

14745 B258 linesdepth 9pulls 11 transitivereach 0 importersview sourcekind gate/prooftopic connect
docsdependenciesstructsconstsfunctions

about

nx_connect_album_gate.nx -- the API's regression proof. The dispatcher is the seam where a permission rule most easily gets lost: it is the layer that turns a request into a plane call, so a bug here looks like a routing detail and behaves like an access-control failure. The teeth that matter are the refusals, and the one that matters most is T3: a signed-out caller must not be able to mutate anything, because that is the failure that leaves no trace in the data. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_connect_album.nx nx_connect_album_gate.nx

imports: nx_connect_album.nx

imported by: nobody (leaf or entry point)

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

main a_w px sys_now_us sys_mmap sys_clock_gettime_mono al_do rb_seq al_ok_n al_cat al_num sg_may sg_obj rb_cat rb_catn sys_mmap ↻ sg_sub rb_cat ↻ rb_catn ↻ rb_check sys_mmap ↻ rb_otype rb_seq ↻ rb_tuple_current sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn rb_cat ↻ ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ss_r32 rb_iskind rb_kmemeq rb_field ss_r32 ↻ rb_kmemeq ↻

structs

none

consts

9const AG_ALICE: i64 = 1001
10const AG_BOB: i64 = 1002
11const AG_CARA: i64 = 1003
12const AG_ALBUM: i64 = 7001
13const AG_OUT: i64 = 8192
14const AG_KIND: *u8 = "album\x00"
17const AG_NOITEM: *u8 = "-\x00"
18const AG_ITEM1: *u8 = "cid_aaa\x00"
19const AG_ITEM2: *u8 = "cid_bbb\x00"

functions

21func a_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
22func a_n(v: i64) -> i64 {
called by 1: main
32func a_t(pass: i64, label: *u8, fails: *i64) -> i64 {
called by 2: containment_teethmain calls 1: a_w
38func a_has(buf: *u8, needle: *u8) -> i64 {
50func px(tag: i64) -> *u8 {
called by 2: containment_teethmain calls 1: sys_now_us
61func containment_teeth(out: *u8, fails: *i64) -> i64 {
called by 1: main calls 5: pxal_doa_hasa_wa_t
124func main() -> i64 {