nx_autofix_mut_absdiff_os.nx
buildroot/runtime/nx_autofix_mut_absdiff_os.nx
about
nx_autofix_mut_absdiff_os.nx -- MUTATION-GENERATED FOREIGN BUG (class: operand-swap in ONE branch
-- the exact operand-binding family the maker missed on cand4; PREDICTED MISS, boundary probe n+1).
Target: absdiff. Sibling max2 must stay green (PASS_TO_PASS).
dependencies 1 imports · 0 importers
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
structs
| none |
consts
| none |
functions
| 6 | func cw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 7 | func cn(v: i64) -> i64 |
| 20 | func fncase2(fn: *u8, a: i64, b: i64, want: i64, got: i64) -> i64 |
| 26 | func max2(a: i64, b: i64) -> i64 { if a > b { return a } return b } called by 1: main |
| 27 | func absdiff(a: i64, b: i64) -> i64 { if a < b { return a - b } return a - b } called by 1: main |
| 29 | func main() -> i64 |