code wiki / _hdl_build / nx_cms_visual_builder_gate.nx

nx_cms_visual_builder_gate.nx

buildroot/runtime/_hdl_build/nx_cms_visual_builder_gate.nx

5670 B99 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic cms
docsdependenciesstructsconstsfunctions

about

nx_cms_visual_builder_gate.nx -- referee for R-CANVAS v1 (nx_cms_visual_builder): the visual no-JS site editor lib. Proves: the form prefills from a real blueprint (attribute-escaped), the server-side rebuild reconstructs a valid blueprint from posted urlencoded fields (decoded, blank cards omitted), and the format cannot be injected ('|' in a value neutralized; missing title -> a blueprint the daemon's validator refuses). GREEN iff 7/7. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_gate.nx nx_cms_visual_builder.nx nx_cms_visual_builder_gate.nx

imports: nx_gate.nxnx_cms_visual_builder.nx

imported by: nobody (leaf or entry point)

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

main vb_form_page vb_puts vb_meta vb_input vb_puts ↻ vb_line_at vb_slen vb_line_end vb_fld_start vb_emit_esc vb_puts ↻ vb_fld_end vg_has vb_rebuild vb_single_line vb_vhas vb_v_start vb_slen ↻ vb_v_end vb_emit_val vb_puts ↻ vb_v_start ↻ vb_dec_emit vb_hexv vb_v_end ↻ vb_puts ↻ vb_vhas ↻ vb_emit_val ↻ vb_puts ↻ vb_card_line vb_vhas ↻ vb_emit_val ↻ vb_puts ↻ vg_count gw sys_write vg_row gw ↻ gn

structs

none

consts

none

functions

9func vg_has(hay: *u8, hn: i64, needle: *u8) -> i64
called by 1: main
17func vg_count(hay: *u8, hn: i64, needle: *u8) -> i64
called by 1: main
26func vg_row(name: *u8, ok: i64) -> i64 { gw(" " as *u8); gw(name); if ok==1 { gw(" PASS\n" as *u8) } else { gw(" FAIL\n" as *u8) } return 0 }
called by 1: main calls 1: gw
28func main() -> i64