Bug 414278

Summary: VG_(memcpy) used for overlapping moves
Product: [Developer tools] valgrind Reporter: Jefferson Carpenter <jeffersoncarpenter2>
Component: generalAssignee: Julian Seward <jseward>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 3.15 SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Specify that memcpy supports overlapping moves

Description Jefferson Carpenter 2019-11-19 00:17:26 UTC
Created attachment 124003 [details]
Specify that memcpy supports overlapping moves

This is used to positive effect in some cases for performance of XArray etc.  It would be a good idea to specify that VG_(memcpy) additionally supports overlapping areas if dest < src, since memcpy explicitly states the contrary.