code wiki / _hdl_build / nx_engineer_gate_runner_test.nx

nx_engineer_gate_runner_test.nx

buildroot/runtime/_hdl_build/nx_engineer_gate_runner_test.nx

2543 B52 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic engineer
docsdependenciesstructsconstsfunctions

about

nx_engineer_gate_runner_test.nx -- prove the Engineer's full-pipeline gate classifies honestly where the exit-code-only runner was blind. Corpus of three gates with KNOWN distinct outcomes: a good test (PASS), the reserved-keyword source (COMPILE-FAIL), and the null-write program (CRASH/SIGSEGV). The old runner would link the empty .s and/or read exit-0 -- this names each correctly. Known answer: PASS, COMPILE-FAIL, CRASH(11) -> exit 0.

dependencies 1 imports · 0 importers

nx_engineer_gate_runner.nx nx_engineer_gate_runner_test.n

imports: nx_engineer_gate_runner.nx

imported by: nobody (leaf or entry point)

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

main gr_puts eng_gate eng_compile sys_mmap sys_fork sys_openat_wr sys_dup3 sys_close sys_execve sys_exit sys_wait4 sys_openat_rd sys_read eng_link sys_mmap ↻ sys_fork ↻ sys_openat_wr ↻ sys_dup3 ↻ sys_close ↻ sys_execve ↻ sys_exit ↻ sys_wait4 ↻ eng_run sys_mmap ↻ sys_fork ↻ sys_openat_wr ↻ sys_dup3 ↻ sys_close ↻ sys_execve ↻ sys_exit ↻ sys_wait4 ↻ eng_crashed eng_signal egr_verdict_name gr_num

structs

none

consts

none

functions

10func gr_puts(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
11func gr_num(v: i64) -> i64
called by 1: main
20func main() -> i64