code wiki / _hdl_build / nx_codec_license_gate.nx

nx_codec_license_gate.nx

buildroot/runtime/_hdl_build/nx_codec_license_gate.nx

8801 B123 linesdepth 8pulls 11 transitivereach 0 importersview sourcekind gate/prooftopic codec
docsdependenciesstructsconstsfunctions

about

nx_codec_license_gate.nx -- grades codec patent-cleanliness from the NATIVE content-addressed seg_store (no TSV, no SQL). The audit rows are AUTHORED-BY-ORGAN into a fresh /tmp native-config store each run, then read back via ncfg -- so the verdict is computed from the sovereign store, not a flat file. Verdict GREEN only if ZERO techniques are RISKY (clean-by-construction); otherwise RED with the worklist. This is a liar-kill: it refuses to certify the media stack "clean" while any H.264/AVC-pool-derived technique remains shipped. ENGINEERING due-diligence, NOT legal advice -- a real freedom-to-operate review is a separate, lawyer step.

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_g_pn_lite_lib.nx nx_g_puts_lib.nx nx_native_config.nx nx_codec_license_gate.nx

imports: nx_syscalls.nxnx_g_pn_lite_lib.nxnx_g_puts_lib.nxnx_native_config.nx

imported by: nobody (leaf or entry point)

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

main g_puts sys_write sys_mmap cl_fresh_prefix sys_now_ms sys_mmap ↻ sys_clock_gettime_mono sys_mmap ↻ cl_seed ncfg_begin ss_begin ss_begin_cap sys_mmap ↻ cl_row sys_mmap ↻ ncfg_add_row sys_mmap ↻ canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap ncfg_key ss_add ss_add2 ss_w32 ss_len ncfg_set_count sys_mmap ↻ ncfg_count_key ncfg_itoa sys_mmap ↻ ss_add ↻ ncfg_commit ss_commit ss_segid_ok sys_mmap ↻ ss_cat

structs

none

consts

none

functions

12func g_streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8){ if a[i]!=b[i]{return 0} i=i+1 } if b[i]!=(0 as u8){return 0} return 1 }
called by 1: main
15func cl_fresh_prefix(out: *u8, base: *u8) -> i64
called by 1: main calls 2: sys_now_mssys_mmap
31func cl_row(w: *i64, idx: i64, technique: *u8, organ: *u8, verdict: *u8, basis: *u8, clean_path: *u8) -> i64
called by 1: cl_seed calls 2: sys_mmapncfg_add_row
43func cl_seed(prefix: *u8) -> i64
85func main() -> i64