nx_varfacts.nx
buildroot/runtime/nx_varfacts.nx
about
nx_varfacts.nx -- CLI: VaM .var package measurements into the refcorpus plane.
nx_varfacts probe <file.var>
nx_varfacts sweep <listfile> <source> <provenance> <license> [put]
The capability-target lane made mechanical (standing policy 1785794796): the package's own
MANIFEST (central directory names/sizes) and its own DECLARED license are read; asset bytes
are never opened, never converted, never published. Distribution rows ride rc_put_row's k>=8
admission wall like every reference corpus. Tail-window IO: a 519MB look pack costs an lseek
and a few MB read.
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_varfacts_lib.nxnx_mediafacts_lib.nxnx_refcorpus.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 16 | const VFC_MAGIC_4194304: i64 = 4194304 |
| 18 | const VFC_TAIL: i64 = 8388608 |
| 19 | const VFC_MAX_FILES: i64 = 1024 |
| 20 | const VFC_PATH_MAX: i64 = 384 |
functions
| 22 | func vfc_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 23 | func vfc_w(s: *u8) -> i64 { sys_write(1, s, vfc_slen(s)); return 0 } |
| 24 | func vfc_e(s: *u8) -> i64 { sys_write(2, s, vfc_slen(s)); return 0 } |
| 25 | func vfc_num(v: i64) -> i64 |
| 38 | func vfc_itoa(v: i64, out: *u8) -> i64 |
| 54 | func vfc_read_tail(path: *u8, buf: *u8, sizebox: *i64) -> i64 |
| 76 | func vfc_license(path: *u8, facts: *i64, out: *u8) -> i64 |
| 98 | func vfc_print(facts: *i64, lic: *u8) -> i64 |
| 116 | func vfc_row(key: *u8, val: i64, unit: *u8, cnt: i64, src: *u8, prov: *u8, lic: *u8, do_put: i64, wrote: *i64) -> i64 |
| 127 | func vfc_mmm(base: *u8, arr: *i64, cnt: i64, unit: *u8, src: *u8, prov: *u8, lic: *u8, do_put: i64, wrote: *i64) -> i64 |
| 151 | func main(argc: i64, argv: *i64) -> i64 |