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 / security673 / relational / evidence / gate1 / 34.src

22 lines · 467 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Existing qualification gate supplies timeout, exit and output assertions.
3fn main to int
4b = new uchar 4096 0
5cnt = sub ulong argcnt 1
6if or eq cnt 0 gt cnt 63
7ret 90
8end
9put b 0 uchar cnt
10p = ulong 2
11for i ulong cnt
12n = argread add i 1 b add p 2 sub 4096 add p 2
13if or lt n 0 gt n 4090
14ret 91
15end
16put b p uchar and ulong n 255
17put b add p 1 uchar shr ulong n 8
18p = add add p 2 ulong n
19end
20r = execprog b 0 p
21ret 127
22end