code wiki / _hdl_build / nx_ge_mockcat.nx

nx_ge_mockcat.nx

buildroot/runtime/_hdl_build/nx_ge_mockcat.nx

791 B17 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic ge
docsdependenciesstructsconstsfunctions

about

nx_ge_mockcat.nx -- test-only mock "verify" for nx_gated_edit_gate: cat argv[1] to stdout. Deterministic; output reflects the named file's bytes -> lets the gate drive CONSOLIDATED (verify a file the edit does NOT touch) vs REFUSED (verify the edited file itself). license_tier: ORIGINAL No hw writes.

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_ge_mockcat.nx

imports: nx_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_exit sys_openat_rd sys_mmap sys_read sys_write sys_close

structs

none

consts

5const K_MAGIC_1048576: i64 = 1048576

functions

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