c++ - How do you define a block of executable memory in windows? -


i know linux supports mmap system command being able define block of executable memory. how do same thing in windows? imagine there windows equivalent function same thing, maybe?

call createfilemapping or virtualprotect or virtualalloc passing 1 of page_execute_xxx protection flags. mmap function used file mappings , createfilemapping closest windows analogue.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -