omnet
aien-dev/omnet
Brought by drakestapleton
omnet / om / sha512 / test / trap.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note trap.om: concatenated after sha512.om. A length one past the capacity (65537) must trap 3, |
| 3 | note so this program exits 103 (trap 3 -> exit 100 + 3) and never reaches ret 0. |
| 4 | fn main to int |
| 5 | m = new uchar 65536 0 |
| 6 | o = new uchar 64 0 |
| 7 | s512hash m 65537 o |
| 8 | ret 0 |
| 9 | end |