2 ms·
Windows has ASLR too (since Vista) and it works with existing DLLs. Only pages which contain relocations can't be shared, which in practice means only code that
by userbinator 12y ago
Windows has ASLR too (since Vista) and it works with existing DLLs. Only pages which contain relocations can't be shared, which in practice means only code that accesses global data (including calls through the import table to other modules.) All the other pages can be.
The whole process image is writable when the loader is running - else how could it load the code into memory? :-) Section attributes are applied after loading.