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 / call-public.om

14 lines · 540 bytes Raw Blame History
1note leak fixture (call rule, README.txt): a helper called inside a loop over a public length. The
2note caller's registers are spilled to the stack around the BL and loaded back; the slot tracking
3note keeps the loop counter and the bound public, so the loop branch stays len after the call.
4note The helper's loaded byte reaches only the sum. Expected: TRACE-EQUIV-STATIC PASS.
5fn h a view uchar 64 i ulong to ulong
6ret ulong get a and i 63
7end
8fn f a view uchar 64 n ulong to ulong
9s = ulong 0
10for i ulong n
11s = add s h a i
12end
13ret s
14end