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
omega-mv / seed / ng / tests / ir / x-symlbig.om
| 1 | note bay 3 review of 2d6ed949: symlnk on a well-formed two-record packet of 4097 bytes, one past the 4096-byte |
| 2 | note cap that symlnk keeps under omc 564c5835, traps 3 before any kernel call (OMEGESE s10); ngrun refuses |
| 3 | note symlnk (121) only after that check, and the exec argument cap must not reach it. |
| 4 | fn main to int |
| 5 | a = new uchar 4097 120 |
| 6 | put a 0 2 |
| 7 | put a 1 0 |
| 8 | put a 2 248 |
| 9 | put a 3 15 |
| 10 | put a 4092 3 |
| 11 | put a 4093 0 |
| 12 | put a 4094 97 |
| 13 | put a 4095 98 |
| 14 | put a 4096 99 |
| 15 | k = symlnk a 0 4097 |
| 16 | ret int and k 255 |
| 17 | end |