Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Many platforms won't let you allocate memory with both PROT_WRITE and PROT_EXEC. More portable JIT engines either map memory writable to write out code and then remap it read-only and executable before executing it, or map the same memory into two separate virtual addresses, one writable and one executable.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: