ftmemsim-valgrind/memcheck/tests/malloc_free_fill.vgtest
Julian Seward 9ad4d494fa New options for Memcheck, --malloc-fill=<hexnumber> and
--fill-free=<hexnumber>, which cause malloc'd(etc) and free'd(etc)
blocks to be filled with the specified value.  This can apparently be
useful for shaking out hard-to-track-down memory corruption.  The
definedness/addressability of said areas is not affected -- only the
contents.  Documentation to follow.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7259
2007-11-30 21:41:40 +00:00

3 lines
67 B
Plaintext

prog: malloc_free_fill
vgopts: --malloc-fill=0x55 --free-fill=0x77