nx_licdetect.nx
buildroot/runtime/nx_licdetect.nx
about
nx_licdetect.nx -- thin CLI over nx_licdetect_lib. WHICH LICENCE IS THIS FILE?
The decision lives in the LIB so this command line and any in-process consumer prove the SAME code,
and so the gate can IMPORT the logic instead of forking this binary -- a fork is a boundary the
mutation harness cannot see across.
Exit codes are the estate's shared refusal vocabulary so a caller branching on nx_licgate or
nx_acquire branches identically here:
0 DETECTED exactly one licence matched -- the only answer
3 UNKNOWN nothing matched; the artifact does NOT advance to evidence=READ
4 AMBIGUOUS two or more matched; a coin flip is not a verdict
4 unreadable file
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_licdetect_lib.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
| none |
functions
| 17 | func ldc_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: ldc_puts |
| 18 | func ldc_puts(s: *u8) -> i64 { sys_write(1, s, ldc_len(s)); return 0 } |
| 20 | func ldc_num(v: i64) -> i64 |
| 33 | func main(argc: i64, argv: *i64) -> i64 |