On 11/24/21 6:41 AM, Slawa Olhovchenkov wrote:
On Tue, Nov 16, 2021 at 10:26:42PM +0000, Marcin Wojtas wrote:
Enable ASLR by default for 64-bit executables
Now any core dumps will be useless?
I believe core dumps should be fine. We include the ELF auxv values in core
dumps as a NT_PROCSTAT_AUXV note that GDB (and I presume LLDB) both look at
to determine the location of the main executable (AT_BASE). Once the dynamic
section of the main executable is found, DT_DEBUG is used to find the linked
list of shared libraries (including rtld itself) just as with PDEs.
--
John Baldwin