diff options
| author | Eli Zaretskii | 2024-01-26 15:01:51 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-01-26 15:01:51 +0200 |
| commit | de020255a5cef4349d786fceb19481352c49557b (patch) | |
| tree | 983b2f255dbdeeb4c3c302adcf7f92ea77c6b75b /java/INSTALL | |
| parent | 723b0973512c0e6e9fb0f07678124347ccd44b54 (diff) | |
| download | emacs-de020255a5cef4349d786fceb19481352c49557b.tar.gz emacs-de020255a5cef4349d786fceb19481352c49557b.zip | |
Fix crash backtraces on MS-Windows, broken by ASLR
* src/w32fns.c (DEFAULT_IMAGE_BASE): Define for 64-bit and 32-bit
MinGW builds.
(emacs_abort): Correct the callstack addresses for potential
relocation of the image base due to ASLR. This makes 'addr2line'
be able to interpret emacs_backtrace.txt when ASLR is in effect,
which it is on every modern version of MS-Windows. (Bug#63365)
* configure.ac (LD_SWITCH_SYSTEM_TEMACS) [mingw32]: Add comment
about keeping the image-base values in sync with w32fns.c.
* etc/DEBUG (How to disable ASLR): New section.
Diffstat (limited to 'java/INSTALL')
0 files changed, 0 insertions, 0 deletions