omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / seed / omc / sites / found-arrarg-2.om
| 1 | note sites: found by a one-token change of a tracked program; reaches the omc error site in arrarg (code 7) |
| 2 | note SPDX-License-Identifier: Apache-2.0 |
| 3 | note contract 6 line 173: len 10, o = 11, k = 0: o <= len fails, trap 3, exit 103. A mutant that |
| 4 | note drops the first check computes len - o = 2^64-1 >= 0 and prints 0 (exp/v6-part-o.mutant). |
| 5 | om2 |
| 6 | fn plen v view uchar * to ulong |
| 7 | ret len v |
| 8 | end |
| 9 | fn main to int |
| 10 | a = new uchar 10 0 |
| 11 | o = ulong 11 |
| 12 | putd plen edit a o 0 |
| 13 | ret 0 |
| 14 | end |