code wiki / _hdl_build / nx_presubmit_gate.nx

nx_presubmit_gate.nx

buildroot/runtime/_hdl_build/nx_presubmit_gate.nx

2670 B58 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_presubmit_gate.nx -- proves the pre-submit guard on hermetic /tmp fixtures (never the shared tree). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_presubmit_lib.nx nx_gate_verdict.nx nx_presubmit_gate.nx

imports: nx_presubmit_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap gv_head gv_puts sys_write sys_mkdir psg_wfile sys_openat_wr ps_check ps_has sys_openat_rd sys_mmap ↻ es_cat sys_getdents64 dirent_name dirent_reclen sys_close es_cat ↻ es_catn sys_mmap ↻ gv_check gv_puts ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻

structs

none

consts

5const K_MAGIC_1024: i64 = 1024

functions

7func psg_wfile(path: *u8, s: *u8) -> i64
called by 1: main calls 1: sys_openat_wr
15func main() -> i64