zeusdeux / jit-example-macos-arm64

Playing around with some JIT-ting (using mmap) on macOS with Apple Silicon (tested on M1)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jit-example-macos-arm64

Playing around with some JIT-ting (using mmap) on macOS with Apple Silicon (tested on M1 MBP running Sonoma 14.3.1).

To execute, make clean run.

Output:
./jit ./hello_flat.bin
Hello, world from arm64 assembly!

./jit ./write_flat.bin "Message from shell invocation to C program to assembly routine :)" 69
Message from shell invocation to C program to assembly routine :)
make: *** [run] Error 69

If the entitlements are missing, run make entitlements

About

Playing around with some JIT-ting (using mmap) on macOS with Apple Silicon (tested on M1)


Languages

Language:C 72.7%Language:Assembly 18.6%Language:Makefile 8.7%