nx_patent_check_test.nx
buildroot/runtime/nx_patent_check_test.nx
about
nx_patent_check_test.nx -- smoke for the offline patent gate.
Builds a synthetic patent table at /tmp/nx_patent_t1.txt with one
row per status enum, then verifies lookup + safety predicate +
observability counters.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_str.nxnx_patent_check.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
| 12 | const NX_PT_MODE: i64 = 420 // 0o644 |
functions
| 14 | func nx_pt_write_str(fd: i64, s: *u8) -> nx_int |
| 22 | func nx_pt_write_fixture(path: *u8) -> nx_int |
| 38 | func main() -> nx_exit |