code wiki / _hdl_build / nx_gateorder.nx

nx_gateorder.nx

buildroot/runtime/_hdl_build/nx_gateorder.nx

9860 B254 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_gateorder.nx -- sweeps a source tree asking ONE question it can actually answer: DOES THIS GATE LEAVE A DURABLE VERDICT RECORD AT ALL? The standing form of a one-off /tmp shell sweep. A finding not wired into a standing instrument decays, so the check lives here: repeatable by any seat, on any tree, with no shell. ⚠⚠ORDERING IS DELIBERATELY NOT JUDGED. An earlier version of this organ also reported EMIT-EARLY by comparing the first emit-token offset against the last tooth offset. It was WRONG ON ALL SEVEN gates it flagged, and I filed a sev7 debt against other lanes before checking: the token's first textual occurrence lands on HELPER DEFINITIONS (`func g_log`), on TEST FIXTURES, and on /tmp scratch writes -- and this organ's own gate self-flagged, because the pattern appears in its test-data string literals. ★★★★★TEXTUAL POSITION CANNOT DECIDE EXECUTION ORDER. The one genuine ordering defect in this arc was caught by READING THE LOG (gate printed 41/41 while its log said 23/23), which grep could never do. nx_gateorder [root] default root = runtime exit 0 always (a report, not a verdict) license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 1 imports · 0 importers

nx_gateorder_lib.nx nx_gateorder.nx

imports: nx_gateorder_lib.nx

imported by: nobody (leaf or entry point)

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

main gow_init go_match_at go_strlen go_strlen ↻ go_puts sys_write go_strlen ↻ gow_scan_dir sys_getdents64 gow_is_dot gow_join gow_scan_dir ↻ go_ends_gate_nx go_strlen ↻ go_match_at ↻ gow_read_file sys_read gow_record gow_has_binary go_classify go_emit_off go_first go_match_at ↻ go_kv go_puts ↻ go_puti sys_mmap sys_write ↻ go_puti ↻

structs

none

consts

19const GOW_FCAP: i64 = 262144
20const GOW_DBUF: i64 = 65536
21const GOW_PATH: i64 = 1024
22const GOW_MAXDEPTH: i64 = 12
23const GOW_MAXLIVE: i64 = 512
24const GOW_NAMEW: i64 = 64

functions

37func gow_init()
called by 1: main
54func gow_has_binary(srcname: *u8) -> i64
called by 1: gow_record
77func gow_join(dir: *u8, name: *u8, out: *u8)
called by 1: gow_scan_dir
104func gow_is_dot(name: *u8) -> i64
called by 1: gow_scan_dir
113func gow_read_file(path: *u8) -> i64
called by 1: gow_scan_dir calls 1: sys_read
131func gow_record(cls: i64, srcname: *u8)
called by 1: gow_scan_dir calls 1: gow_has_binary
160func gow_scan_dir(dir: *u8, depth: i64)
196func main(argc: i64, argv: *i64) -> i64