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-pathnul.om
| 1 | note bay 1 review of 36edfca2: a zero byte in a path traps 3 before any kernel call (OMEGESE s10), |
| 2 | note with or without ngrun --scratch; the confinement refusal (119) comes after it. |
| 3 | fn main to int |
| 4 | a = new uchar 3 0 |
| 5 | put a 0 97 |
| 6 | put a 2 98 |
| 7 | k = fopen a 0 3 int 65 int 384 |
| 8 | ret int and k 255 |
| 9 | end |