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 / omc / om2 / s4 / s4-mutants.cases

44 lines · 2402 bytes Raw Blame History
1# S4 compiled mutants of omc.om. Expected verdicts fixed in advance: ctl-* PASS, m-* FAIL (detected).
2deadline 60
3cc seed/omc/omc.om
4ctl-v-bad-pread-text refuse seed/omc/om2/s4/v-bad-pread-text.om 20
5ctl-v-ok run seed/omc/om2/s4/v-ok.om - - - 0
6ctl-v-trap-get run seed/omc/om2/s4/v-trap-get.om - - - 103
7ctl-p-ok run seed/omc/om2/s4/p-ok.om - - - 0
8ctl-p-wrap run seed/omc/om2/s4/p-wrap.om - - - 103
9ctl-p-o run seed/omc/om2/s4/p-o.om - - - 103
10ctl-x-two emit seed/omc/om2/s4/x-two.om sha:52cbef323079618c5e9b7911c9b3dbb4a222e851d9522b97f8b52b4c354a178e - 0
11ctl-p-bad-base refuse seed/omc/om2/s4/p-bad-base.om 19
12ctl-v-text-empty run seed/omc/om2/s4/v-text-empty.om - - - 0
13# unsized view: a number index left unchecked (check elimination on an unsized view)
14subst seed/omc/om2/s4/mut/uce.from seed/omc/om2/s4/mut/uce.to
15cc seed/omc/omc.om
16m-uce run seed/omc/om2/s4/v-trap-get.om - - - 103
17# pread/pwrite: the writable-array check on pwrite instead of pread (pread into a text compiles)
18subst seed/omc/om2/s4/mut/preadwr.from seed/omc/om2/s4/mut/preadwr.to
19cc seed/omc/omc.om
20m-preadwr refuse seed/omc/om2/s4/v-bad-pread-text.om 20
21# parameter slots: every parameter one slot at the call (the count slot of an unsized view not skipped)
22subst seed/omc/om2/s4/mut/slot.from seed/omc/om2/s4/mut/slot.to
23cc seed/omc/omc.om
24m-slot run seed/omc/om2/s4/v-ok.om - - - 0
25# part: the wrapped check o + k <= len instead of the two checks
26subst seed/omc/om2/s4/mut/pwrap.from seed/omc/om2/s4/mut/pwrap.to
27cc seed/omc/omc.om
28m-pwrap run seed/omc/om2/s4/p-wrap.om - - - 103
29# part: the first check (o <= len) missing
30subst seed/omc/om2/s4/mut/pfirst.from seed/omc/om2/s4/mut/pfirst.to
31cc seed/omc/omc.om
32m-pfirst run seed/omc/om2/s4/p-o.om - - - 103
33# part: not counted as its base for error 19
34subst seed/omc/om2/s4/mut/p19.from seed/omc/om2/s4/mut/p19.to
35cc seed/omc/omc.om
36m-p19 refuse seed/omc/om2/s4/p-bad-base.om 19
37# export: the entry words (B to each export) not written
38subst seed/omc/om2/s4/mut/tramp.from seed/omc/om2/s4/mut/tramp.to
39cc seed/omc/omc.om
40m-tramp emit seed/omc/om2/s4/x-two.om sha:52cbef323079618c5e9b7911c9b3dbb4a222e851d9522b97f8b52b4c354a178e - 0
41# empty text: a text of length 0 taken as unsized (its count read from register nm_lr, never set)
42subst seed/omc/om2/s4/mut/textlen.from seed/omc/om2/s4/mut/textlen.to
43cc seed/omc/omc.om
44m-textlen run seed/omc/om2/s4/v-text-empty.om - - - 0