code wiki / (root) / _dlr_probe.nx

_dlr_probe.nx

buildroot/runtime/_dlr_probe.nx

3015 B74 linesdepth 19pulls 126 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

_dlr_probe.nx -- localize the validated-HTTPS read-hang (SREACH R1 blocker). Replicates nx_https_get's four stages with a FLUSHED stderr marker after each; the last marker before the hang names the stage that blocks. Target is example.com (reproduces the hang fast). Run under `timeout -s KILL`.

dependencies 12 imports · 0 importers

nx_str.nx nx_syscalls.nx nx_csprng.nx nx_url.nx nx_x509_trust_store.nx nx_pem_loader.nx nx_tls13_client_validate_certifica nx_tls13_client_session.nx nx_tls13_client_session_run.nx nx_https_url_for_fetch.nx _dlr_probe.nx

diagram shows first 10 each side; +2 more imports, +0 more importers in the complete lists below.

imports: nx_str.nxnx_syscalls.nxnx_csprng.nxnx_url.nxnx_x509_trust_store.nxnx_pem_loader.nxnx_tls13_client_validate_certificate.nxnx_tls13_client_session.nxnx_tls13_client_session_run.nxnx_https_url_for_fetch.nxnx_https_url_connect.nxnx_https_get_complete.nx

imported by: nobody (leaf or entry point)

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

main P 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 Pi sys_write ↻ sys_mmap ↻ sys_mmap ↻ nx_csprng_fill

structs

none

consts

none

functions

18func P(s: *u8) -> i64 { sys_write(2, s, nx_str_len(s)); return 0 }
called by 1: main calls 2: sys_writenx_str_len
19func Pi(n: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
28func main() -> i64