code wiki / _hdl_build / nx_varcensus_gate.nx

nx_varcensus_gate.nx

buildroot/runtime/_hdl_build/nx_varcensus_gate.nx

10747 B163 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic varcensus
docsdependenciesstructsconstsfunctions

about

nx_varcensus_gate.nx -- PROVE THE VaM CENSUS CLASSIFIER IS DATA, FIRST-MATCH, A PARTITION ON BOTH AXES, AND THAT A MALFORMED RULE REFUSES. In-process over nx_varcensus_lib with fixture rules and fixture member names: no corpus is read and no asset byte exists anywhere in this gate. The rules text is assembled at runtime with real TAB bytes. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_varcensus_lib.nx nx_varcensus_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_varcensus_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 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 ↻ gv_head gv_puts sys_write ↻ vcl_arena_new sys_mmap ↻ vcl_apps vcl_app vcl_arena_reserve sys_mmap ↻ sys_munmap vcl_slen vg_row vcl_apps ↻ vcl_appc vcl_arena_reserve ↻ vcl_slen ↻ vcl_rules_parse sys_mmap ↻ vcl_arena_new ↻ vcl_counter_new sys_mmap ↻ vcl_arena_new ↻ vcl_field_is

structs

none

consts

9const VG_TAB: i64 = 9
10const VG_LF: i64 = 10
11const VG_KEYS: i64 = 1000

functions

13func vg_row(a: *i64, f0: *u8, f1: *u8, f2: *u8, f3: *u8, f4: *u8, f5: *u8) -> i64
called by 1: main calls 3: vcl_appsvcl_appcvcl_slen
30func vg_ptr(s: *u8) -> i64 { return s as i64 }
called by 1: main
31func vg_cls(rs: *i64, axis: i64, name: *u8) -> i64
36func vg_idx(rs: *i64, axis: i64, cls: *u8) -> i64
called by 1: main calls 2: vcl_counter_findvcl_slen
41func main(argc: i64, argv: *i64) -> i64