code wiki / _hdl_build / nx_uiq_wire.nx

nx_uiq_wire.nx

buildroot/runtime/_hdl_build/nx_uiq_wire.nx

2020 B36 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic uiq
docsdependenciesstructsconstsfunctions

about

nx_uiq_wire.nx -- CLI: the FIRST-BYTE-UP response/header auditor (experiential wire layer). Audits the HTTP response the edge emits from byte 0 -- status + the SOTA security-header posture. usage: nx_uiq_wire --kat (self-test: bare=EXPOSED, hardened=5/5, xfo/frame-ancestors) nx_uiq_wire audit <resp-file> (JSON: status, per-header presence, sec_score/5, verdict) live: capture a page's response with nx_https_get -> file, then `nx_uiq_wire audit <file>`. license_tier: ORIGINAL expect_exit: 0 genealogy: experiential wire layer; fetch=nx_https_get

dependencies 1 imports · 0 importers

nx_uiq_wire_lib.nx nx_uiq_wire.nx

imports: nx_uiq_wire_lib.nx

imported by: nobody (leaf or entry point)

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

main uw_w sys_write uw_selftest uw_write_kat sys_openat_wr sys_write ↻ sys_close sys_mmap uw_slurp sys_openat_rd sys_read sys_close ↻ uw_audit uw_hdr_end uw_status uw_has uw_len uw_lc uw_val_has uw_len ↻ uw_lc ↻ uw_pn nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap uw_len ↻ uw_lc ↻ uw_slurp ↻ uw_audit ↻ uw_emit sys_mmap ↻ uw_cat uw_catn sys_mmap ↻ sys_write ↻

structs

none

consts

8const K_MAGIC_262144: i64 = 262144

functions

10func main(argc: i64, argv: *i64) -> i64