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 / len-loop.om

11 lines · 461 bytes Raw Blame History
1note leak fixture (contract spec/omegese-om2.md section 8, lines 232-236, evidence (a)):
2note a loop over a public length n with a data-independent body. The loaded bytes are summed but
3note never reach a branch or an address, so every branch is len and every access is public-index.
4note Expected: TRACE-EQUIV-STATIC PASS with no data-dependent item.
5fn f a view uchar 64 n ulong to ulong
6s = ulong 0
7for i ulong n
8s = add s ulong get a and i 63
9end
10ret s
11end