Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/omc/om2/s4/s4-mutants.cases # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers 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). 2 deadline 60 3 cc seed/omc/omc.om 4 ctl-v-bad-pread-text refuse seed/omc/om2/s4/v-bad-pread-text.om 20 5 ctl-v-ok run seed/omc/om2/s4/v-ok.om - - - 0 6 ctl-v-trap-get run seed/omc/om2/s4/v-trap-get.om - - - 103 7 ctl-p-ok run seed/omc/om2/s4/p-ok.om - - - 0 8 ctl-p-wrap run seed/omc/om2/s4/p-wrap.om - - - 103 9 ctl-p-o run seed/omc/om2/s4/p-o.om - - - 103 10 ctl-x-two emit seed/omc/om2/s4/x-two.om sha:`52cbef323079618c5e9b7911c9b3dbb4a222e851d9522b97f8b52b4c354a178e` - 0 11 ctl-p-bad-base refuse seed/omc/om2/s4/p-bad-base.om 19 12 ctl-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) 14 subst seed/omc/om2/s4/mut/uce.from seed/omc/om2/s4/mut/uce.to 15 cc seed/omc/omc.om 16 m-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) 18 subst seed/omc/om2/s4/mut/preadwr.from seed/omc/om2/s4/mut/preadwr.to 19 cc seed/omc/omc.om 20 m-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) 22 subst seed/omc/om2/s4/mut/slot.from seed/omc/om2/s4/mut/slot.to 23 cc seed/omc/omc.om 24 m-slot run seed/omc/om2/s4/v-ok.om - - - 0 25 # part: the wrapped check o + k <= len instead of the two checks 26 subst seed/omc/om2/s4/mut/pwrap.from seed/omc/om2/s4/mut/pwrap.to 27 cc seed/omc/omc.om 28 m-pwrap run seed/omc/om2/s4/p-wrap.om - - - 103 29 # part: the first check (o <= len) missing 30 subst seed/omc/om2/s4/mut/pfirst.from seed/omc/om2/s4/mut/pfirst.to 31 cc seed/omc/omc.om 32 m-pfirst run seed/omc/om2/s4/p-o.om - - - 103 33 # part: not counted as its base for error 19 34 subst seed/omc/om2/s4/mut/p19.from seed/omc/om2/s4/mut/p19.to 35 cc seed/omc/omc.om 36 m-p19 refuse seed/omc/om2/s4/p-bad-base.om 19 37 # export: the entry words (B to each export) not written 38 subst seed/omc/om2/s4/mut/tramp.from seed/omc/om2/s4/mut/tramp.to 39 cc seed/omc/omc.om 40 m-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) 42 subst seed/omc/om2/s4/mut/textlen.from seed/omc/om2/s4/mut/textlen.to 43 cc seed/omc/omc.om 44 m-textlen run seed/omc/om2/s4/v-text-empty.om - - - 0