From 8655bc6d3273cdc07d19672fb090c0d016c92711 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 26 Jan 2024 21:02:10 +0200 Subject: [PATCH] ; * etc/DEBUG: Add a blurb about disabling ASLR on macOS. (cherry picked from commit 9d985f24a7fe298980f9af7b9e44318d145cfae5) --- etc/DEBUG | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/DEBUG b/etc/DEBUG index 6c7f4040b8d..4eae090621f 100644 --- a/etc/DEBUG +++ b/etc/DEBUG @@ -1111,6 +1111,9 @@ edit the PE header of the Emacs executable file and reset the DYNAMIC_BASE (0x40) flag in the DllCharacteristics flags recorded by the PE header. +On macOS, there's no official way for disabling ASLR, but there are +various hacks that can be found by searching the Internet. + ** How to recover buffer contents from an Emacs core dump file The file etc/emacs-buffer.gdb defines a set of GDB commands for -- 2.39.5