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
Post a Comment