interplane.Get Omega
Read in your language

sovereign-intelligence

Front door to Drake Stapleton's sovereign stack.

Brought by drakestapleton

branch main Branches Tags History

sovereign-intelligence / tests / omc / examples / count_trap3_wrap.om

11 lines · 337 bytes Raw Blame History
1note count_trap3_wrap: off + n is never formed, so it cannot wrap: off 2^64-1 and n 2 would sum to 1,
2note inside a 16-byte array, but off > len A - n, so count traps 3, exit 103
3om2
4text before "before\n"
5fn main to int
6k = write 1 before 0 len before
7a = new uchar 16 10
8o = ulong 18446744073709551615
9n = count a o 2 10
10ret int n
11end