3 ms·
you think that x86 pages are marked executable by the arm processor? probably not. maybe arm pages with an arm wrapper that calls the jit for big literals fil
by a-dub 5y ago
you think that x86 pages are marked executable by the arm processor? probably not.
maybe arm pages with an arm wrapper that calls the jit for big literals filled with x86 code are, or arm pages loaded with stubs that jump into the jit to compile x86 code sitting in data pages are... but if the arm processor cannot execute x86 pages directly, then it wouldn't make a lot of sense for them to be marked executable, would it?
- chrisseaton 5y agoNo the AMD64 page executable bit system is implemented in software by Rosetta.
- saagarjha 5y agoNo, it doesn't need to. Rosetta only emulates userspace, so it just needs to give the illusion of protections to the program.
- anyfoo 5y agoAh, in this case I took "x86 execution semantics" just as how it behaves from user space, i.e. what permissions you can set and that they behave the same from an x86 observer (no matter what shenanigans is actually going behind the scenes).
- deleted 5y ago[deleted]