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

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -