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
omega-mv / seed / qualification / om2 / leak / fixtures / pub-outside-store.om
| 1 | note E13 disjoint-store control: secret byte stored at 40 is proven outside public [32,40). |
| 2 | note The declared byte at 32 remains public. Expected PASS, no revocation. |
| 3 | fn f c edit uchar 104 a view uchar 1 to ulong |
| 4 | put c 40 get a 0 |
| 5 | if eq get c 32 0 |
| 6 | ret 0 |
| 7 | else |
| 8 | ret 1 |
| 9 | end |
| 10 | end |