Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はいくつかの簡単な JIT を行っており、 Windows でVirtualProtectExを使用してページを実行可能としてマークしています。Linux で、できれば他の POSIX/Unix ライクな OS でそれと同等のものは何でしょうか?
mprotectと、おそらくmmapも探しています。Windows とは異なり、プロセス A がプロセス B のメモリ マップを変更する方法はないことに注意してください ( ptraceを使用した恐ろしいトリックを除けば)。