by dajt · 3y ago · 0 comments
I don't know enough about any processor created in the last 30 years to know if running bare metal without a commercial OS would allow you to not have those constraints.
https://github.com/Frodox/execute-machine-code-from-memory/t... has several examples of how to do it.
EDIT: https://www.kvakil.me/posts/2022-10-13-optimizing-mprotect-i... is another good link that explains this.