2 ms·
On the M1? I could only get it to work with some patches I found on some forums from < 1 month ago. The issue seems to be hardware wx protection, among other th
by titzer 6y ago
On the M1? I could only get it to work with some patches I found on some forums from < 1 month ago. The issue seems to be hardware wx protection, among other things.
- saagarjha 6y agoOh, right, I just disabled that: https://gist.github.com/saagarjha/d1ddd98537150e4a09520ed3ede54f5e https://gist.github.com/saagarjha/d1ddd98537150e4a09520ed3ed...
- titzer 6y agoInteresting. Do you work for Apple? The qemu patches that split up the RX/RW jit regions are maddeningly complicated. I'm curious if anyone has suggested this solution to them?
- saagarjha 6y agoI don't. To be clear, this isn't an actual fix, it just turns off W^X enforcement altogether. It's certainly not something that should be merged upstream–the real fix should be to adopt W^X in the JIT (which is more complicated, as you may have seen).