Apple suggests `pthread_jit_write_with_callback_np()` and a *JIT callback allow list* via the `com.apple.security.cs.jit-write-allowlist` entitlement as the way to port a JIT to Apple silicon. - https://developer.apple.com/documentation/apple-silicon/porting-just-in-time...
We use `pthread_jit_write_protect_np()` at this point. How much longer is this going to work? Maybe we want to refactor this to the callback approach? - https://keith.github.io/xcode-man-pages/pthread_jit_write_protect_np.3.html#...
This is just a heads-up. 😺
Note the entitlement way is confined to _hardenen runtime app_ which is probably not our concern
vm-dev@lists.squeakfoundation.org