You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the -baseaddress option of the C# compiler at all useful nowadays, when Address Space Layout Randomization (ASLR) will relocate DLLs anyhow? The linked weblog does not mention ASLR; it was written in 2004, and ASLR was released with Windows Vista in 2007.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 52af077e-f7ef-921f-e603-8935e96dfc6a
Version Independent ID: a2a23f7e-18d8-944a-3caa-1fb876f1997e
This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs team for visibility.
Activity
BillWagner commentedon Sep 3, 2019
That's a good question @KalleOlaviNiemitalo
@jcouv @jaredpar Do you know the answer, or where to track this information down?
akochepasov commentedon Sep 27, 2019
One of our drivers is very old and crashes when ASLR enabled
KalleOlaviNiemitalo commentedon Sep 27, 2019
@akochepasov, was that driver built with the C# compiler?
akochepasov commentedon Sep 27, 2019
@KalleOlaviNiemitalo, no, it is a native DLL. However, it's loaded into C# exe.
KalleOlaviNiemitalo commentedon Oct 29, 2019
Improving Startup Time: A primer on setting base-addresses for managed DLLs – CLR and Framework Perf Blog notes that the base address matters if you NGen the assembly and then run it on an OS older than Windows Vista. I don't think Microsoft supports those OS versions any more, though.
dotnet-bot commentedon Jan 25, 2021
This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the
@dotnet/docsteam for visibility.