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 / security673 / packets-mutant.cases

19 lines · 1502 bytes Raw Blame History
1# Packed-list bound mutants (#671). Each block removes one length check from the execprog decoder
2# (hpack in seed/omc/omc.om) by an exact-once substitution, builds that compiler with the pinned omc,
3# and reruns the single packets.cases row that only the removed check refuses. The expectation stays
4# the correct one (trap 3, exit 103), so every row must FAIL: the mutant executes /bin/true (exit 0).
5# seed/host/check.sh requires exactly these FAIL verdicts and OM2GATE FAIL cases=3 pass=0 fail=3.
6# Packet length above 4096 bytes: cmp x5, x16 (4096); b.hi trap.
7subst seed/qualification/security673/packets/mut-size-from.txt seed/qualification/security673/packets/mut-size-to.txt
8cc seed/omc/omc.om
9mutant-size run seed/qualification/security673/pkt-consumer.om file:seed/qualification/security673/packets/p10.bin - - 103
10cc pinned
11# Record count above 64: cmp x6, x16 (64); b.hi trap.
12subst seed/qualification/security673/packets/mut-count-from.txt seed/qualification/security673/packets/mut-count-to.txt
13cc seed/omc/omc.om
14mutant-count run seed/qualification/security673/pkt-consumer.om file:seed/qualification/security673/packets/p09.bin - - 103
15cc pinned
16# Exact consumption, no bytes after the last record: cmp x5, #0; b.ne trap.
17subst seed/qualification/security673/packets/mut-exact-from.txt seed/qualification/security673/packets/mut-exact-to.txt
18cc seed/omc/omc.om
19mutant-exact run seed/qualification/security673/pkt-consumer.om file:seed/qualification/security673/packets/p04.bin - - 103