Bug 475652 - Missing suppression for __wcsncpy_avx2 (strncpy-avx2.S:308)?
commitf7829b6d4783f94fce6ea3323fb13d21ff025913
authorPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 16 Oct 2023 21:14:39 +0000 (16 23:14 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 16 Oct 2023 21:14:39 +0000 (16 23:14 +0200)
tree4e35279d571bc8cb9de84e0a9548d6f63468ecd3
parenta9d065c48d35343bf7228e1728312d9da83554ba
Bug 475652 - Missing suppression for __wcsncpy_avx2 (strncpy-avx2.S:308)?

Adds a replace strmem wrapper for wcsncpy

Whilst doing this I noticed that

memcheck/tests/filter_memcheck

wasn't filtering memcheck/tests/freebsd/timingsafe properly.
That's because before filtering vg_replace_strmem.c and
vg_replace_malloc.c there's a check that the test exe filename
does not match the line. In this case the test exe was "timingsafe",
but line contained "timingsafe_memcmp", which matched leaving
vg_replace_strmem.c unfiltered. So I just renamed the testcase.
14 files changed:
.gitignore
NEWS
configure.ac
memcheck/tests/Makefile.am
memcheck/tests/freebsd/Makefile.am
memcheck/tests/freebsd/timing_safe.c [moved from memcheck/tests/freebsd/timingsafe.c with 100% similarity]
memcheck/tests/freebsd/timing_safe.stderr.exp [new file with mode: 0644]
memcheck/tests/freebsd/timing_safe.vgtest [new file with mode: 0644]
memcheck/tests/freebsd/timingsafe.stderr.exp [deleted file]
memcheck/tests/freebsd/timingsafe.vgtest [deleted file]
memcheck/tests/wcsncpy.c [new file with mode: 0644]
memcheck/tests/wcsncpy.stderr.exp [new file with mode: 0644]
memcheck/tests/wcsncpy.vgtest [new file with mode: 0644]
shared/vg_replace_strmem.c