code wiki / (root) / nx_autofix_mut_eqv.nx

nx_autofix_mut_eqv.nx

buildroot/runtime/nx_autofix_mut_eqv.nx

1498 B39 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic autofix
docsdependenciesstructsconstsfunctions

about

nx_autofix_mut_eqv.nx -- DELIBERATE EQUIVALENT MUTANT (the intake gate's discard tooth): max2 with `b < a` instead of `a > b` is semantically IDENTICAL, so every test passes and there is nothing to fix. A sound instance intake MUST discard this row (the classic equivalent-mutant problem) -- if it ever appears in the verified manifest, the intake gate is broken. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_autofix_mut_eqv.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 dbl max2 cw sys_write cn cw ↻ sys_mmap sys_write ↻

structs

none

consts

none

functions

7func cw(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 2: cnmain calls 1: sys_write
8func cn(v: i64) -> i64
called by 1: main calls 3: cwsys_mmapsys_write
22func dbl(x: i64) -> i64 { return x + x }
called by 1: main
23func max2(a: i64, b: i64) -> i64 { if b < a { return a } return b }
called by 1: main
25func main() -> i64
calls 4: dblmax2cwcn