-
Notifications
You must be signed in to change notification settings - Fork 46
Implement memory protection APIs (RW/RX/RO) #119
Comments
This comment has been minimized.
This comment has been minimized.
JIT as in a Just In Time compiler? |
By JIT, we really mean memory protection APIs. AKA the ability to make a memory region go from RW to RX and back. |
May I suggest renaming the issue? Very few people know that as "JIT" (and I still don't know what that means), but as memory protection, DEP, NX, etc. Even searching for JIT on osdev doesn't return anything related to memory protection. (not bashing your work, just trying to get more people to contribute :) ) By the way, i'm getting familiar with the library and the inner workings of the horizon, looks like, a really nice microkernel. done a few tests on the switch, probably gonna try implemting memory protection later once I really get how things work. Maybe documeting a few things in the way. |
it has the same mean on iPhone - Safari, or even WebKit uses it for JavaScript JIT, i think, HOS uses it for JS too (in WebKit) - impossible to sign code remotely, which auto generated on the fly |
Yes, but you use it for JIT, it isn't a JIT API, it is a memory protection API. You use it to make pages executable in order to make the code generated by your JIT engine executable, but it isn't a JIT in itself. |
JIT memory - RWX+disable codesign check. it's all |
@allanxp4 you're absolutely right. Mostly called it JIT API because that's what libnx called it, but it's a pretty misleading name :). |
Need this for something I'm working on. Not sure how to work around this. |
Add a JIT API to libtransistor. It'd be really awesome to implement the
mprotect
API, such that emulators using that syscall can work as-is without modifications.The text was updated successfully, but these errors were encountered: