code wiki / (root) / nx_licdetect_gate.nx

nx_licdetect_gate.nx

buildroot/runtime/nx_licdetect_gate.nx

7930 B138 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_licdetect_gate.nx -- GATE for nx_licdetect_lib. The load-bearing tooth reads a REAL LICENCE TEXT WE HOLD (the Anny Apache-2.0 file mirrored from raw.githubusercontent.com with its own provenance row and pin), not a synthetic fixture. A detector proven only against text the test author wrote is proven against the author's idea of the licence. If that mirror is missing the tooth reports a MISSING PRECONDITION and the gate SKIPs -- "I could not look" must never arrive in the same word as "I looked and it passed". license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_licdetect_lib.nx nx_licdetect_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.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

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 ↻ ld_ctx sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close ld_field gv_check gv_puts ↻ sys_mmap ↻ sys_read_file ↻ gv_need gv_puts ↻ ld_detect ld_streq_n ld_contains ld_marker_set_verified

structs

none

consts

none

functions

13func ldg_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 3: ldg_isldg_codemain
16func ldg_is(ctx: *i64, text: *u8, want: *u8) -> i64
called by 1: main calls 3: sys_mmapld_detectldg_len
28func ldg_code(ctx: *i64, text: *u8) -> i64
called by 1: main calls 3: sys_mmapld_detectldg_len
33func main(argc: i64, argv: *i64) -> i64