nx_zombie_audit_gate.nx
buildroot/runtime/nx_zombie_audit_gate.nx
about
nx_zombie_audit_gate.nx -- KAT for the zombie detector. Forks a DISTINCTIVE cluster of unreaped
children (-> real zombies under this gate), asserts the detector counts that exact cluster, then
reaps them and asserts the cluster is gone (neg-control). exit 0 = pass, N = assertion N failed.
dependencies 2 imports · 0 importers
imports: nx_zombie_audit.nxnx_assert.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 7 | func zg_has_count(cc: *i64, n: i64, target: i64) -> i64 { var i: i64=0; while i<n { if cc[i]==target { return 1 } i=i+1 } return 0 } called by 1: main |
| 9 | func main() -> i64 |