Copying Code to Read Only Memory without Using `mprotect`
When a program needs to generate/retrieve code and run it, several steps are required. The program needs to allocate memory with read, write, and execution permissions, and perhaps remove the write permission