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 / fixtures / flags.om

16 lines · 582 bytes Raw Blame History
1note leak fixture (flags rule, README.txt; contract spec/omegese-om2.md section 8 lines 234-236): a
2note comparison of a loaded byte is materialized with CSET into b, then a comparison of the public n
3note sets the flags again. The second compare replaces the flags' taint (last flag-setting op), so the
4note branch on c is len, while the branch on b (CSET of data flags) is data MANUAL under E12.
5note Expected: TRACE-EQUIV-STATIC NOT_RUN with exactly one data branch.
6fn f a view uchar 16 n ulong to ulong
7b = lt ulong get a 0 5
8c = lt n 9
9if c
10ret 1
11end
12if b
13ret 2
14end
15ret 0
16end