code wiki / _hdl_build / nx_pattern_emit13_demo.nx

nx_pattern_emit13_demo.nx

buildroot/runtime/_hdl_build/nx_pattern_emit13_demo.nx

2286 B53 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind sketch/demotopic pattern
docsdependenciesstructsconstsfunctions

about

nx_pattern_emit13_demo.nx -- the TEAM authoring the STATE_MACHINE shape's first real machine (no Claude core logic): _pe_tlshs = the TLS 1.3 server-flight ORDER VALIDATOR. States: 0=START 1=WAIT_EE 2=WAIT_CERT 3=WAIT_CV 4=WAIT_FIN 5=CONNECTED; events = handshake msg kinds 0=server_hello 1=encrypted_extensions 2=certificate 3=cert_verify 4=finished. Exactly the canonical chain is defined; EVERYTHING else (reorder, replay-after-connect, skip) refuses -- the browser arc's out-of-order-handshake security property as an authored, gateable core. ALSO proves the refusal rails: a table value past nstates and an out-of-range s0 are REFUSED. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_pattern_emit13.nx nx_syscalls.nx nx_pattern_emit13_demo.nx

imports: nx_pattern_emit13.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap d13_table pe13_author_state_machine p13_spec_ok sys_openat_wr pe13_emit_state_machine p13_w sys_write p13_wn sys_mmap ↻ sys_write ↻ sys_close pe13_emit_state_machine_te sys_mmap ↻ p13_walk p13_find_undef p13_w ↻ p13_wn ↻ d13_w sys_write ↻ sys_exit

structs

none

consts

none

functions

12func d13_w(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
15func d13_table(spec: *i64) -> i64
called by 1: main
29func main() -> i64