code wiki / _hdl_build / nx_sig_min_probe.nx

nx_sig_min_probe.nx

buildroot/runtime/_hdl_build/nx_sig_min_probe.nx

2469 B64 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_sig_min_probe.nx -- minimal bisect daemon: accept ONE connection on 127.0.0.1:8446, run nx_ws_upgrade_handshake, print the verdict, exit. Discriminates: segfault here = upgrade-stack bug; clean verdict here = the bug lives in nx_signaling_v2's room/poll layer. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_websocket_upgrade.nx nx_sig_min_probe.nx

imports: nx_syscalls.nxnx_websocket_upgrade.nx

imported by: nobody (leaf or entry point)

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

main sys_socket 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_setsockopt sys_bind sys_listen p_puts sys_write ↻ sys_accept p_pn sys_mmap ↻ sys_write ↻ sys_close

structs

none

consts

8const K_MAGIC_8446: i64 = 8446
9const K_MAGIC_4096: i64 = 4096

functions

11func p_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
12func p_pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
29func main() -> i64