mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
New defines to enable buffer overrun checking.
(GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add.
This commit is contained in:
parent
68db37aa53
commit
cdcf58d8eb
1 changed files with 16 additions and 0 deletions
16
src/lisp.h
16
src/lisp.h
|
|
@ -35,6 +35,22 @@ Boston, MA 02111-1307, USA. */
|
|||
be compared to the sizes recorded in Lisp strings. */
|
||||
|
||||
#define GC_CHECK_STRING_BYTES 1
|
||||
|
||||
/* Define this to check for short string overrun. */
|
||||
|
||||
#define GC_CHECK_STRING_OVERRUN 1
|
||||
|
||||
/* Define this to check the string free list. */
|
||||
|
||||
#define GC_CHECK_STRING_FREE_LIST 1
|
||||
|
||||
/* Define this to check for malloc buffer overrun. */
|
||||
|
||||
#define XMALLOC_OVERRUN_CHECK 1
|
||||
|
||||
/* Define this to check for errors in cons list. */
|
||||
/* #define GC_CHECK_CONS_LIST 1 */
|
||||
|
||||
#endif /* 0 */
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue