Am 01.05.2017 um 13:23 schrieb René Scharfe:
But I can't get Valgrind to report overlapping (nicely explained in
http://valgrind.org/docs/manual/mc-manual.html#mc-manual.overlap, by
the way), not for t7009 and not for the short test program at the
bottom.  Do you set flags in GIT_VALGRIND_OPTIONS or use a special
version of Valgrind?  I use valgrind-3.12.0.SVN from Debian testing.

Thanks,
René


/* Compile with -fno-builtin. */
#include <string.h>
int main(void) {int i = 1; memcpy(&i, &i, sizeof(i)); return i;}

Actually I can, on Debian stable x86 (Valgrind-3.10.0).  Not sure
whether it's the older version of Valgrind or the 32-bitness, but
it gives me a way to reproduce, so nevermind.

René

Reply via email to