Skip to content

Instantly share code, notes, and snippets.

@joseph39
joseph39 / readme.md
Last active December 3, 2021 14:45
Runtime.s for Mac OS X and Windows

Runtime.s for Mac OS X and Windows

These versions of runtime.s works by simulating the break region that is not present in either operating system. The region that it initially allocates is 4MB in size and can be increased by modifying the brk_region_size value. In case where it does run out of memory, it will jump to __exception and consequently terminate the process.

Mac OS X

runtime.s for Mac OS X does not have any library dependencies.

Windows