code wiki / (root) / nx_cc_probe.nx

nx_cc_probe.nx

buildroot/runtime/nx_cc_probe.nx

3465 B84 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind probetopic cc
docsdependenciesstructsconstsfunctions

about

nx_cc_probe.nx -- sovereign compiler A/B LOOP-DETECTOR (no shell). Runs the ACTIVE vs the pinned KNOWN-GOOD compiler on each print module via nx_run_timeout, and classifies each: ok / **LOOP** (hung, killed) / err. The module where ACTIVE=LOOP but KNOWN-GOOD=ok is the P0 front-end regression trigger. This is the NishiLang replacement for the _p0_*.sh triage scaffolding the operator (rightly) rejected -- the medium embodies the message. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_run_timeout.nx nx_cc_probe.nx

imports: nx_run_timeout.nx

imported by: nobody (leaf or entry point)

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

main cp_puts cp_run nx_run_timeout sys_now_ms sys_mmap sys_clock_gettime_mono sys_fork sys_openat_wr sys_dup3 nx_rt_alarm sys_execve sys_exit sys_mmap ↻ sys_wait4 wait_exit_code cp_puts ↻ cp_putn

structs

none

consts

11const K_MAGIC_40000: i64 = 40000

functions

13func cp_puts(s: *u8) -> i64
called by 2: cp_runmain
19func cp_putn(n: i64) -> i64
called by 1: cp_run
31func cp_run(compiler: *u8, module: *u8, timeout_ms: i64) -> i64
called by 1: main calls 3: nx_run_timeoutcp_putscp_putn
50func main() -> i64
calls 2: cp_putscp_run