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 / leak / leak.cases

83 lines · 11012 bytes Raw Blame History
1# Contract §8 lines 230-241, E11 public count field, E12 known-bits and E13 store revocation.
2# Hand-derived expected reports; see oracle/leak/PROVENANCE.txt. Run from repository root.
3deadline 120
4# Pinned identities of function-mode input artifacts (not candidate-output expectations).
5art-len-loop emit seed/qualification/om2/leak/fixtures/len-loop.om sha:2f2d40510e226f208771122a572b1e1993af665757cbbf3db138e26720635b14 - 0
6art-data-branch emit seed/qualification/om2/leak/fixtures/data-branch.om sha:33cef92d0bda016cc9d9f2c59bc6e4684288c9f65850e6110587564664cd9f31 - 0
7art-data-index emit seed/qualification/om2/leak/fixtures/data-index.om sha:91350a4040f1b186f354673be7b30f71a8a6178b3b8e8bb738379f391f634838 - 0
8art-trap-check emit seed/qualification/om2/leak/fixtures/trap-check.om sha:a248f55ba2a89751ec19de673f252ebc2d8353d1596b2560641ce3b847519750 - 0
9art-call-public emit seed/qualification/om2/leak/fixtures/call-public.om sha:94cf35fb8b8a9ccdb4c036efc7f721f310ee68f991d553934a6b542f3d386bab - 0
10art-call-data emit seed/qualification/om2/leak/fixtures/call-data.om sha:4991fd1cd1136b3c76c87c24373528bf49613077d9017c6cc1e77b6974d5fabc - 0
11art-flags emit seed/qualification/om2/leak/fixtures/flags.om sha:0e89dcd1284414e8d735d7245719ba019edd80a833e59f4958d767e38f6fea1a - 0
12art-local emit seed/qualification/om2/leak/fixtures/local.om sha:b79fd23b5bf7f6a00fb7f4b6058ec436c4ba7cb81b244159086cb575cfc3ef51 - 0
13art-svc emit seed/qualification/om2/leak/fixtures/svc.om sha:b363a48acf9c0a8c6769cda57251e07200ee18884d3f3f87c154182d5a3f2735 - 0
14art-elf emit seed/qualification/om2/leak/fixtures/elf.om sha:4caebbb143d76413098649f9569eadc495aad8ca744a91ba7b29fe1bad4c7471 - 0
15art-sha256-om1 emit seed/qualification/om2/baseline/sha256-om1.om sha:3b0ee1ffd7247514b1fd685b5cd48e83ccda4d1ded40e18a4237e81eb44bc97f - 0
16art-public-in emit seed/qualification/om2/leak/fixtures/public-in.om sha:cbe9a0ca26df3fe76fbc1391916bae2e149142bcb5a3516fda247970886ce09e - 0
17art-public-out emit seed/qualification/om2/leak/fixtures/public-out.om sha:4f2b4c9a3b45fddcab74ae8dfb09311fe95c5ba6104eca05d2864e70897064a2 - 0
18art-reachable emit seed/qualification/om2/leak/fixtures/reachable-trap.om sha:be21c3c9b2edbd4c68bc43a79aea4427eb9d8639d08166381474e39efff74b3b - 0
19art-pub-secret emit seed/qualification/om2/leak/fixtures/pub-secret.om sha:00780e1f17e8229ffff3c093b8ef26905b56cfe5a03b9c19f8c6699ac228221e - 0
20art-pub-unknown emit seed/qualification/om2/leak/fixtures/pub-unknown.om sha:4d31acd40061380d4dc161c7f09668bd5c055161f562d2687f1babff827f17ea - 0
21art-pub-outside-store emit seed/qualification/om2/leak/fixtures/pub-outside-store.om sha:9caab7022a8521feddad502528dd451f31ab3c9b6af6f8c3c098e8fa0c61c6ce - 0
22# OM-1 refuses the OM-2 opt-in on exactly line 1; candidate.cases compiles this unit instead.
23s1-rot-refused emit seed/qualification/om2/leak/fixtures/s1-rot.om - err:1:16 16
24# BEGIN common scan cases (all sources below are OM-1; C1 applies under an OM-2 candidate).
25# E13 store-poisoned declarations must not suppress DATA branches; unknown store addresses may overlap.
26scan-pub-secret run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/pub-secret.bin file:seed/qualification/om2/leak/expected/pub-secret.out - 2 pub:0:32:8
27scan-pub-unknown run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/pub-unknown.bin file:seed/qualification/om2/leak/expected/pub-unknown.out - 2 pub:0:32:8
28# Proven disjoint store remains allowed; public field load is still explicitly listed.
29scan-pub-outside-store run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/pub-outside-store.bin file:seed/qualification/om2/leak/expected/pub-outside-store.out - 0 pub:0:32:8
30# Native program twins execute the same counterexample with secret input bytes 0 / 1.
31pub-secret-native-zero run seed/qualification/om2/leak/fixtures/pub-secret.om+seed/qualification/om2/leak/fixtures/pub-secret-zero.om - - - 0
32pub-secret-native-one run seed/qualification/om2/leak/fixtures/pub-secret.om+seed/qualification/om2/leak/fixtures/pub-secret-one.om - - - 1
33# §8 length/public loop; declared DATA length converts its loop condition to E12 MANUAL.
34scan-len-loop run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/len-loop.bin file:seed/qualification/om2/leak/expected/len-loop.out - 0
35scan-len-loop-x1 run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/len-loop.bin file:seed/qualification/om2/leak/expected/len-loop-x1.out - 2 x1
36# E12 unproved DATA branches are MANUAL; a DATA indexed address is still listed, never silently passed.
37scan-data-branch run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/data-branch.bin file:seed/qualification/om2/leak/expected/data-branch.out - 2
38scan-data-index run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/data-index.bin file:seed/qualification/om2/leak/expected/data-index.out - 2
39scan-data-index-x0x5 run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/data-index.bin file:seed/qualification/om2/leak/expected/data-index-x0x5.out - 2 x5 x0
40# E12 positive AND-mask proof and negative reachable uint conversion, respectively.
41scan-trap-check run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/trap-check.bin file:seed/qualification/om2/leak/expected/trap-check.out - 0
42scan-reachable-trap run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/reachable-trap.bin file:seed/qualification/om2/leak/expected/reachable-trap.out - 2
43# E12 native-reachability twins: observed HOST process exits, not inferred from trap-tail shape.
44reachable-zero run seed/qualification/om2/leak/fixtures/reachable-zero.om - - - 0
45reachable-big run seed/qualification/om2/leak/fixtures/reachable-big.om - - - 105
46# Call save/restore, return taint, flags replacement, local array addresses.
47scan-call-public run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/call-public.bin file:seed/qualification/om2/leak/expected/call-public.out - 0
48scan-call-data run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/call-data.bin file:seed/qualification/om2/leak/expected/call-data.out - 2
49scan-flags run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/flags.bin file:seed/qualification/om2/leak/expected/flags.out - 2
50scan-local run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/local.bin file:seed/qualification/om2/leak/expected/local.out - 0
51# E11 explicit count range [32,40): public load is auditable; adjacent byte stays DATA.
52scan-public-in run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/public-in.bin file:seed/qualification/om2/leak/expected/public-in.out - 0 pub:0:32:8
53scan-public-out run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/public-out.bin file:seed/qualification/om2/leak/expected/public-out.out - 2 pub:0:32:8
54# §3 lines 76-83: committed S1 rotate artifact, DATA x0,x2; public runtime n gives four len checks.
55scan-s1-rot run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/s1-rot.bin file:seed/qualification/om2/leak/expected/s1-rot.out - 0 x0 x2
56# Unknown/unhandled -> NOT_RUN; malformed input/arguments are refusals.
57scan-svc run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/svc.bin file:seed/qualification/om2/leak/expected/svc.out - 2
58scan-unknown run seed/qualification/om2/leak/leakscan.om rep:255:8 file:seed/qualification/om2/leak/expected/unknown.out - 2
59scan-empty run seed/qualification/om2/leak/leakscan.om - file:seed/qualification/om2/leak/expected/notfm.out - 91
60scan-partial-word run seed/qualification/om2/leak/leakscan.om rep:0:3 file:seed/qualification/om2/leak/expected/notfm.out - 91
61scan-elf run seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/elf.bin file:seed/qualification/om2/leak/expected/notfm.out - 91
62scan-usage-x6 run seed/qualification/om2/leak/leakscan.om - file:seed/qualification/om2/leak/expected/usage.out - 90 x6
63scan-usage-word run seed/qualification/om2/leak/leakscan.om - file:seed/qualification/om2/leak/expected/usage.out - 90 data
64# Scanner adequacy mutants: exact-once source substitutions, expected exit plus different stdout.
65subst seed/qualification/om2/leak/mutants/cbtaint.from seed/qualification/om2/leak/mutants/cbtaint.to
66kill-cbtaint kill seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/trap-check.bin file:seed/qualification/om2/leak/expected/trap-check.out - 0
67subst seed/qualification/om2/leak/mutants/loadpub.from seed/qualification/om2/leak/mutants/loadpub.to
68kill-loadpub kill seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/data-branch.bin file:seed/qualification/om2/leak/expected/data-branch.out - 0
69subst seed/qualification/om2/leak/mutants/callexit.from seed/qualification/om2/leak/mutants/callexit.to
70kill-callexit kill seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/call-data.bin file:seed/qualification/om2/leak/expected/call-data.out - 0
71subst seed/qualification/om2/leak/mutants/slotoff.from seed/qualification/om2/leak/mutants/slotoff.to
72kill-slotoff kill seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/call-public.bin file:seed/qualification/om2/leak/expected/call-public.out - 2
73subst seed/qualification/om2/leak/mutants/flagsweak.from seed/qualification/om2/leak/mutants/flagsweak.to
74kill-flagsweak kill seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/flags.bin file:seed/qualification/om2/leak/expected/flags.out - 2
75subst seed/qualification/om2/leak/mutants/nostub.from seed/qualification/om2/leak/mutants/nostub.to
76kill-nostub kill seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/trap-check.bin file:seed/qualification/om2/leak/expected/trap-check.out - 2
77subst seed/qualification/om2/leak/mutants/pubrange.from seed/qualification/om2/leak/mutants/pubrange.to
78kill-public-boundary kill seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/public-out.bin file:seed/qualification/om2/leak/expected/public-out.out - 0 pub:0:32:8
79# Omitting E13 revocation recreates the false PASS and must be killed.
80subst seed/qualification/om2/leak/mutants/norevoke.from seed/qualification/om2/leak/mutants/norevoke.to
81kill-no-revocation kill seed/qualification/om2/leak/leakscan.om file:seed/qualification/om2/leak/fixtures/pub-secret.bin file:seed/qualification/om2/leak/expected/pub-secret.out - 0 pub:0:32:8
82# Runtime code for the OM-2 SHA unit remains unavailable to this independent lane.
83sha256-om2-scan notrun OM-2 SHA artifact pending independent qualification