code wiki / _hdl_build / nx_kkfacts_gate.nx

nx_kkfacts_gate.nx

buildroot/runtime/_hdl_build/nx_kkfacts_gate.nx

3232 B60 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_kkfacts_gate.nx -- prove the Koikatsu card probe: a card is recognized by its STRUCTURE, a plain PNG is not a card, truncation refuses to count. Fixture built from the published card shape (PNG + IEND + KoiKatuChara marker + block names), not from any real creator's card. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_kkfacts_lib.nx nx_kkfacts_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_kkfacts_lib.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap gv_head gv_puts sys_write sys_mmap ↻ kg_card kg_s kk_probe kk_b kk_find sys_mmap ↻ nx_img_dims _be32 _le16 _le24 _le32b _be16 kk_count gv_check gv_puts ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close

structs

none

consts

none

functions

9func kg_s(b: *u8, at: i64, s: *u8) -> i64 { var i: i64 = 0; var p: i64 = at; while s[i] != (0 as u8) { b[p] = s[i]; p = p + 1; i = i + 1 } return p }
called by 1: kg_card
12func kg_card(b: *u8, with_marker: i64) -> i64
called by 1: main calls 1: kg_s
30func main(argc: i64, argv: *i64) -> i64