code wiki / (root) / nx_fetch_probe.nx

nx_fetch_probe.nx

buildroot/runtime/nx_fetch_probe.nx

3393 B61 linesdepth 24pulls 155 transitivereach 0 importersview sourcekind probetopic fetch
docsdependenciesstructsconstsfunctions

about

nx_fetch_probe.nx -- GENERAL fetch-reachability diagnostic: nx_fetch_probe <url>. Reports, for any URL, what the sovereign fetcher sees: TLS1.3 GET status/bytes, chrome-fingerprint GET, and Range(0-65535) support (206 vs 200 vs fail). Reworked (not retired) from the one-off BeerQA probe (rework-dont-retire doctrine) -- this is the standing "why can't we fetch X" tool that pinned nlp.stanford.edu as connect-unreachable. Usage: build once via nx_sov_build_run (usage run exits 0), then: /tmp/nx_fetch_probe.sov.elf <url> expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_research_engine.nx nx_fetch_probe.nx

imports: nx_research_engine.nx

imported by: nobody (leaf or entry point)

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

main rf_puts sys_write rf_init nx_trust_store_load_from_c sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_nss_certdata_parse sys_mmap ↻ _pat_class_cert _pat_value_octal _pat_end _find_newline _starts_with _parse_octal_line sys_mmap ↻ _is_space _decode_octal_escape _is_octal trust_store_alloc sys_mmap ↻ nx_x509_trust_store_load sys_mmap ↻ x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_length x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻

structs

none

consts

8const K_MAGIC_131072: i64 = 131072
9const K_MAGIC_65535: i64 = 65535

functions

12func fp_rc(n: i64) -> i64
called by 2: fp_getmain calls 2: rf_putsrf_putn
23func fp_get(label: *u8, url: *u8, store: *TrustStore, chrome: i64) -> i64
called by 1: main calls 3: rf_putsrf_putnfp_rc
36func main(argc: i64, argv: *i64) -> i64