/DYNAMICBASE (Use address space layout randomization)
The latest version of this topic can be found at -DYNAMICBASE (Use address space layout randomization).
Specifies whether to generate an executable image that can be randomly rebased at load time by using the address space layout randomization (ASLR) feature of Windows Vista.
Syntax
/DYNAMICBASE[:NO]
Remarks
By default, /DYNAMICBASE is on.
This option modifies the header of an executable to indicate whether the application should be randomly rebased at load time.
Address space layout randomization is supported on Windows Vista.
To set this linker option in Visual Studio
Open the project Property Pages dialog box. For more information, see How to: Open Project Property Pages.
Expand the Configuration Properties node.
Expand the Linker node.
Select the Advanced property page.
Modify the Randomized Base Address property.