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 / ng / tests / ir / x-execcap.om

12 lines · 437 bytes Raw Blame History
1note ham/ngrun-hostwords-4 (omc 564c5835 exec argv limits): an execprog packet of count 1025, one past the
2note 1024-record cap of an exec argument packet (first record "x", then 1024 empty records, 2053 bytes),
3note traps 3 before any kernel call (OMEGESE s10); ngrun refuses execprog (115) only after that check.
4fn main to int
5a = new uchar 2053 0
6put a 0 1
7put a 1 4
8put a 2 1
9put a 4 120
10k = execprog a 0 2053
11ret int and k 255
12end