google / gwpsan

GWPSan: Sampling-Based Sanitizer Framework
Apache License 2.0
307 stars 9 forks source link

Unpoison NonFailingMemcpy() destination #2

Closed copybara-service[bot] closed 5 months ago

copybara-service[bot] commented 5 months ago

Unpoison NonFailingMemcpy() destination

When running under MSan, unpoison the destination buffer of NonFailingMemcpy(). This avoids false positives when using these primitives with otherwise uninitialized buffers.