Also note that malloc()+memset() can choose byte values other than 0;
. A value such as 0xA5 can increase visual effectiveness of memory dumps.
Also note that there is a feature of glibc malloc() such that the shell environment variable MALLOC_PERTURN_=NNN (note the trailing underscore)
MALLOC_PERTURB_ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users