code wiki / _hdl_build / nx_domain_map_gate.nx

nx_domain_map_gate.nx

buildroot/runtime/_hdl_build/nx_domain_map_gate.nx

8858 B127 linesdepth 22pulls 155 transitivereach 0 importersview sourcekind gate/prooftopic domain
docsdependenciesstructsconstsfunctions

about

nx_domain_map_gate.nx -- GATE for nx_domain_map (the /compare/webscraping R8 contracts dm_scan + dm_soft404). Network-free: every parser and the fingerprint classifier are PURE and are tested here on runtime fixtures; the live composition is proven by running the organ on a real domain (its summary line carries the partition and the fetch counts). Accept rule pre-declared on the board: a 200 that matches the not-found fingerprint is SOFT404, a 200 with a different title or a different length is LIVE (the false-positive control), a host whose fingerprint is a real 404 can never produce SOFT404; robots paths are mined without wildcards; crt.sh hosts are deduplicated, lowercased, wildcard-stripped and kept under the domain only. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_domain_map.nx nx_gate_verdict.nx nx_domain_map_gate.nx

imports: nx_syscalls.nxnx_domain_map.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_head gv_puts sys_write 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 ↻ dm_load_conf dm_conf_one lc_geti sys_mmap ↻ lc_read sys_openat_rd sys_read sys_close lc_slen gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap dm_title_hash dm_lc dm_hash dg_len gv_check gv_puts ↻

structs

none

consts

13const DG_CAP: i64 = 8192
14const DG_SLOT: i64 = 256
15const DG_MAX: i64 = 32

functions

17func dg_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
18func dg_slot(b: *u8, i: i64) -> *u8 { return (b as i64 + i * DG_SLOT) as *u8 }
called by 1: main
20func main() -> i64