set pages to noaccess explicitly for valgrind precision

This commit is contained in:
daan 2022-10-30 12:23:11 -07:00
parent 6e11a054a4
commit b48040e20a
3 changed files with 7 additions and 4 deletions

View file

@ -66,7 +66,7 @@ terms of the MIT license. A copy of the license can be found in the file
// Encoded free lists allow detection of corrupted free lists
// and can detect buffer overflows, modify after free, and double `free`s.
#if (MI_SECURE>=3 || MI_DEBUG>=1 || MI_PADDING > 0) && !MI_VALGRIND
#if (MI_SECURE>=3 || MI_DEBUG>=1)
#define MI_ENCODE_FREELIST 1
#endif