code wiki / (root) / nx_mcp_https_gate.nx

nx_mcp_https_gate.nx

buildroot/runtime/nx_mcp_https_gate.nx

4393 B53 linesdepth 8pulls 19 transitivereach 2 importersview sourcekind gate/prooftopic mcp
docsdependenciesstructsconstsfunctions

dependencies 2 imports · 1 importers

nx_mcp_pending.nx nx_gate_verdict.nx nx_mcp_https_gate.nx nx_mcp_authenticated_gate.nx

imports: nx_mcp_pending.nxnx_gate_verdict.nx

imported by: nx_mcp_authenticated_gate.nx

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

main gv_ctr 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 ↻ gv_head gv_puts sys_write ↻ mpe_cat mpe_catn mhg_path mpe_cat ↻ gv_check gv_puts ↻ mhg_file mpe_slen mhg_run mhg_path ↻ mhg_file ↻ mhg_lines nx_value_parse_json nx_val_parse_value nx_val_parse_skip_ws nx_val_parse_is_ws nx_value_new_object nx_value_new_null nx_val_parse_string nx_value_new_string

structs

none

consts

none

functions

3func mhg_has(b:*u8,n:i64,s:*u8)->i64
called by 3: mainmainmain calls 1: mpe_slen
7func mhg_path(base:*u8,suffix:*u8)->*u8{let p:*u8=sys_mmap(1024);var n:i64=mpe_cat(p,0,base);n=mpe_cat(p,n,suffix);p[n]=0 as u8;return p}
called by 4: mainmhg_runmainmain calls 1: mpe_cat
8func mhg_file(path:*u8,body:*u8)->i64
called by 3: mainmhg_runmain calls 1: mpe_slen
12func mhg_run(elf:*u8,base:*u8,prefix:*u8,capfile:*u8,body:*u8,out:*u8,nout:*i64)->i64
called by 3: mainmainmain calls 2: mhg_pathmhg_file
28func mhg_lines(b:*u8,n:i64)->i64
called by 2: mainmain calls 1: nx_value_parse_json
33func main(argc:i64,argv:*i64)->i64