This is an archive of the discontinued LLVM Phabricator instance.

[MSan] Implement _nosanitize functions in compiler-rt
Needs ReviewPublic

Authored by glider on Dec 31 2018, 5:56 AM.

Details

Reviewers
dvyukov
eugenis
Summary

This is a follow-up for https://reviews.llvm.org/D56171 that implements _nosanitize versions of memory intrinsic functions.

Diff Detail

Event Timeline

glider created this revision.Dec 31 2018, 5:56 AM

Please add a test.

glider updated this revision to Diff 180068.Jan 3 2019, 6:53 AM

Added a test.

On a second thought, this is wrong. Unsanitized (blacklisted) functions are supposed to unpoison anything they touch. The new _nosanitize variants must unpoison their target memory.