https://bugs.kde.org/show_bug.cgi?id=402833

            Bug ID: 402833
           Summary: memcheck/tests/overlap testcase fails, memcpy seen as
                    memmove
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: m...@klomp.org
  Target Milestone: ---

With glibc 2.28 (and maybe earlier versions) on amd64 memcheck/tests/overlap
fails.

--- overlap.stderr.exp  2018-01-23 21:34:02.318995262 +0100
+++ overlap.stderr.out  2018-12-22 21:43:11.181679045 +0100
@@ -1,11 +1,3 @@
-Source and destination overlap in memcpy(0x........, 0x........, 21)
-   at 0x........: memcpy (vg_replace_strmem.c:...)
-   by 0x........: main (overlap.c:40)
-
-Source and destination overlap in memcpy(0x........, 0x........, 21)
-   at 0x........: memcpy (vg_replace_strmem.c:...)
-   by 0x........: main (overlap.c:42)
-
 Source and destination overlap in strncpy(0x........, 0x........, 21)
    at 0x........: strncpy (vg_replace_strmem.c:...)
    by 0x........: main (overlap.c:45)

Looking at the REDIRS it might be caused by redirecting a memcpy variant to
memmove?

--38108-- REDIR: 0x48f0210 (libc.so.6:memmove) redirected to 0x482b1be
(_vgnU_ifunc_wrapper)
--38108-- REDIR: 0x48f0680 (libc.so.6:memcpy@@GLIBC_2.14) redirected to
0x482b1be (_vgnU_ifunc_wrapper)
--38108-- REDIR: 0x49c3b50 (libc.so.6:__memcpy_avx_unaligned_erms) redirected
to 0x483ca60 (memmove)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to