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-execbig.om

14 lines · 620 bytes Raw Blame History
1note ham/ngrun-hostwords-4 (omc 564c5835 exec argv limits): a well-formed execprog packet of 65537 bytes (count 1,
2note one record of 65533 bytes), one past the 65536-byte cap of an exec argument packet, traps 3 on its length
3note before any kernel call (OMEGESE s10); ngrun refuses execprog (115) only after that check. Every other packet
4note rule holds, so only the byte cap can trap (bay 3 review of 2d6ed949: a zero-filled packet also traps on its
5note count 0 and did not pin the cap).
6fn main to int
7a = new uchar 65537 120
8put a 0 1
9put a 1 0
10put a 2 253
11put a 3 255
12k = execprog a 0 65537
13ret int and k 255
14end