code wiki / (root) / nx_gen_http_verify.nx

nx_gen_http_verify.nx

buildroot/runtime/nx_gen_http_verify.nx

12513 B233 linesdepth 21pulls 154 transitivereach 0 importersview sourcekind tooltopic gen
docsdependenciesstructsconstsfunctions

about

Test-only fixed-origin /gen verifier. LOCAL CANDIDATE; root must review identity before any live run. No browser, cookie extraction, raw response output, user switch, redirect or auth policy writes.

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_session_mint_lib.nx nx_https_fetch_lib.nx nx_sha256.nx nx_itoa_lib.nx nx_gen_http_verify.nx

imports: nx_syscalls.nxnx_session_mint_lib.nxnx_https_fetch_lib.nxnx_sha256.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

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

main gv_live 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 hf_store_load nx_trust_store_load_from_c sys_mmap ↻ sys_read_file ↻ 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 hf_open

structs

none

consts

9const GV_URL: *u8 = "https://nishifamily.com/gen" as *u8
10const GV_KEYS: *u8 = "/volume1/homes/elderwesto/nishihost/opaque_keys.bin" as *u8
11const GV_REALM: *u8 = "nishi_site_admin" as *u8
12const GV_HANDLE: *u8 = "elderwesto" as *u8
13const GV_EXPECTED: *u8 = "/volume1/ai/gen/elara_ui.html" as *u8
14const GV_CONNECT_IP: i64 = 0x7f000001
15const GV_CONNECT_PORT: i64 = 8443

functions

17func gv_put(s: *u8) -> i64 { return sys_write(1, s, msm_slen(s)) }
18func gv_eq(a: *u8, b: *u8) -> i64
23func gv_lower(c: i64) -> i64 { if (c >= 65) & (c <= 90) { return c + 32 } return c }
24func gv_match(b: *u8, n: i64, key: *u8) -> i64
31func gv_find(b: *u8, n: i64, needle: *u8, nn: i64) -> i64
42func gv_zero(b: *u8, n: i64) -> i64 { var i: i64 = 0; while i < n { b[i] = 0 as u8; i = i + 1 } return 0 }
43func gv_hex(d: *u8, out: *u8) -> i64
54func gv_body(resp: *u8, n: i64, out: *i64) -> i64
112func gv_report_error(reason: *u8, status: i64) -> i64
116func gv_reason(code: i64) -> *u8
125func gv_live() -> i64
184func gv_case(raw: *u8, expected_rc: i64, counts: *i64) -> i64
191func gv_selftest() -> i64
225func main(argc: i64, argv: *i64) -> i64