Dynamic base (Delphi)
Go Up to Delphi Compiler Directives (List) Index
Type |
Switch |
Syntax |
{$DYNAMICBASE ON} {$DYNAMICBASE OFF} |
Default |
{$DYNAMICBASE ON} |
Scope |
Local |
Remarks
{$DYNAMICBASE} enables the Address Space Randomization (ASLR) on Windows Vista and above, providing secure protection against attacks based on buffer overrun. Switch {$DYNAMICBASE} on to prevent attacks in memory-corruption vulnerabilities by enabling ASLR to randomly arrange the address space positions for the stack, heap, libraries, and key data areas of a process.