interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / qualification / om2 / sec / s5s7 / v6-part-o.om

13 lines · 361 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 6 line 173: len 10, o = 11, k = 0: o <= len fails, trap 3, exit 103. A mutant that
3note drops the first check computes len - o = 2^64-1 >= 0 and prints 0 (exp/v6-part-o.mutant).
4om2
5fn plen v view uchar * to ulong
6ret len v
7end
8fn main to int
9a = new uchar 10 0
10o = ulong 11
11putd plen part a o 0
12ret 0
13end