Earlier quoted context omitted.
Just turn off dark mode. So many sites have css that claims to support dark mode but doesn’t. The other direction seems less common.
We should really expect better from someone who's about page says they are an interface designer, though.
MIT Scheme on Apple Silicon
81–87 of 87 posts
Re: MIT Scheme on Apple Silicon
#82Rule of thumb: don't take advice from people who can't explain why they suggest you comment code out.
Re: MIT Scheme on Apple Silicon
#83Earlier quoted context omitted.
Windows has had this enabled by default for a long time: https://docs.microsoft.com/en-us/windows/win32/memory/data-e... There's a per program exception list to handle legacy programs though.
On M1 CPUs you cannot ever have simultaneously writable and executable memory. Windows just makes default allocations write only, you have to explicitly request RWX, which is what every other OS has been doing basically since x86 actually added support for non executable memory :)
Re: MIT Scheme on Apple Silicon
#84Earlier quoted context omitted.
MacOS on the M1 processor is the first to use, and require, the W^X bit in memory, meaning that pages of memory are either writable, or can be executed from, but not both. MIT Scheme's front page says this is fundamentally incompatible with their design, and therefore it won't build. When running in the emulator, this requirement would be relaxed for compatibility reasons. There is an escape hatch for writing JIT com…
Wow really? A common intro to security exercise (think CTFs and university courses) is to write increasingly complicated C programs that leverage W&X. Classic buffer overflow into the stack kind of stuff. On M1 it’s now impossible to exploit even a self-compiled toy in this way?
Re: MIT Scheme on Apple Silicon
#85Earlier quoted context omitted.
Wow really? A common intro to security exercise (think CTFs and university courses) is to write increasingly complicated C programs that leverage W&X. Classic buffer overflow into the stack kind of stuff. On M1 it’s now impossible to exploit even a self-compiled toy in this way?
Offtopic, but can you recommend such a course?
One really fun way to hone your skills is https://microcorruption.com/, a ctf-style simulated hacking game originally made by Square and Matasano.
Re: MIT Scheme on Apple Silicon
#86Earlier quoted context omitted.
Wow really? A common intro to security exercise (think CTFs and university courses) is to write increasingly complicated C programs that leverage W&X. Classic buffer overflow into the stack kind of stuff. On M1 it’s now impossible to exploit even a self-compiled toy in this way?
You can do it in a Linux VM container, it's just MacOS processes, not the HW.