code wiki / (root) / nx_live_https.nx

nx_live_https.nx

buildroot/runtime/nx_live_https.nx

3312 B67 linesdepth 21pulls 134 transitivereach 0 importersview sourcekind tooltopic live
docsdependenciesstructsconstsfunctions

about

nx_live_https.nx -- full VALIDATED live HTTPS crawl, bits-up end to end. Loads the system CA bundle into our sovereign trust store (nx_pem_loader), then nx_https_get with chain validation against a real HTTPS host. Every layer ours: DNS + TCP + TLS1.3 + X.509 chain validation + HTTP + HTML->text + index.

dependencies 9 imports · 0 importers

nx_str.nx nx_syscalls.nx nx_csprng.nx nx_x509_trust_store.nx nx_pem_loader.nx nx_https_get.nx nx_html_to_text.nx nx_bm25.nx nx_search_inverted.nx nx_live_https.nx

imports: nx_str.nxnx_syscalls.nxnx_csprng.nxnx_x509_trust_store.nxnx_pem_loader.nxnx_https_get.nxnx_html_to_text.nxnx_bm25.nxnx_search_inverted.nx

imported by: nobody (leaf or entry point)

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

main nx_puts sys_write nx_str_len nx_pem_trust_load_file 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 ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close nx_pem_trust_load nx_str_len ↻ _pem_find nx_str_len ↻ sys_mmap ↻ b64_decode b64_grab b64_dec_char nx_pi nx_putc sys_mmap ↻ sys_write ↻ sys_mmap ↻

structs

none

consts

none

functions

16func nx_putc(c: i64) -> i64 { let b: *u8 = sys_mmap(1); b[0] = c; sys_write(1, b, 1); return 0 }
called by 2: nx_pinx_rep calls 2: sys_mmapsys_write
17func nx_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 }
called by 2: nx_repmain calls 2: sys_writenx_str_len
18func nx_pi(n: i64) -> i64
called by 2: nx_repmain calls 3: nx_putcsys_mmapsys_write
26func nx_body_off(resp: *u8, n: i64) -> i64
31func nx_rep(text: *u8, tl: i64, q: *u8) -> i64
36func main() -> i64