emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature/asan-gc-poisoning 5c653d3ec9: Add support for additional mem


From: Eli Zaretskii
Subject: Re: feature/asan-gc-poisoning 5c653d3ec9: Add support for additional memory checks using AddressSanitizer.
Date: Wed, 30 Nov 2022 15:41:32 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: Vibhav Pant <vibhavp@gmail.com>
> Date: Wed, 30 Nov 2022 12:58:09 +0800
> 
> Vibhav Pant <vibhavp@gmail.com> writes:
> 
> >     Add support for additional memory checks using AddressSanitizer.
> >     
> >     When Emacs is compiled with AddressSanitizer support, enable
> >     poisoning/unpoisoning freed/unused Lisp objects and other internal
> >     memory management structures. If enabled, this will mark freed bytes
> >     that have been put on free lists for future use, and initially
> >     allocated memory blocks/chunks as "poisoned", triggering an ASan error
> >     if they are accessed improperly. Structures are unpoisoned when they
> >     have been taken off their respective free lists.

To be more useful, this should be mentioned in etc/DEBUG, where we describe
how to build and run Emacs with memory-debugging facilities.

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]