code wiki / (root) / nx_fetch_any_gate.nx

nx_fetch_any_gate.nx

buildroot/runtime/nx_fetch_any_gate.nx

5012 B61 linesdepth 23pulls 152 transitivereach 0 importersview sourcekind gate/prooftopic fetch
docsdependenciesstructsconstsfunctions

about

nx_fetch_any_gate.nx -- teeth for the intelligent fetch dispatcher (operator 2026-07-14: researcher/census/ adversary/critic must "not get errors and return nothing without informing the user"). ADVERSARY DISCIPLINE: the classifier is LAW only if it discriminates a REAL page from the exact thing that fools a naive fetcher -- a Cloudflare 200-OK CHALLENGE page. Gates fa_status / fa_challenge / fa_is_real / fa_body_off / fa_to_body. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_fetch_any.nx nx_fetch_any_gate.nx

imports: nx_syscalls.nxnx_fetch_any.nx

imported by: nobody (leaf or entry point)

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

main fa_status fa_find g_slen g_puts sys_write fa_challenge fa_has fa_find ↻ fa_slen fa_is_real fa_challenge ↻ fa_body_off fa_find ↻ sys_mmap fa_to_body fa_body_off ↻ g_putn sys_mmap ↻ sys_write ↻ sys_exit

structs

none

consts

none

functions

9func g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
10func g_putn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
19func g_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
21func main() -> i64