Does ASLR Slow Dll Boot?

In MSVC, the base address of Randomizaiton is the default setting. (Starting with VS2005?)

So, I no longer update the base address of the dll.

But I corrupted all my DLLs to improve download performance when using VS2003.

If I use the ASLR option, does loading performance always decrease?
(From the course I can get other benefits)

+5
source share
1 answer

The short answer is no.

On a system without ASLR (e.g. XP), loading a DLL on an undesired address has several costs:

  • The relocation section should be analyzed, and corrections should be applied to the entire image.
  • , , , .
  • , DLL , , , .

2 3 , - DLL.

ASLR , , DLL . , . , , , , , .

, (, DLL DLL ..). ASLR , , , .

+8

All Articles