Bug 414278 - VG_(memcpy) used for overlapping moves
Summary: VG_(memcpy) used for overlapping moves
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: 3.15 SVN
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-19 00:17 UTC by Jefferson Carpenter
Modified: 2019-12-28 19:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Specify that memcpy supports overlapping moves (886 bytes, patch)
2019-11-19 00:17 UTC, Jefferson Carpenter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.