This is an archive of the discontinued LLVM Phabricator instance.

[msan] Check for pvalloc overflow
ClosedPublic

Authored by cryptoad on Jul 31 2017, 8:40 AM.

Details

Summary

CheckForPvallocOverflow was introduced with D35818 to detect when pvalloc
would wrap when rounding up to the next multiple of the page size.

Add this check to MSan's pvalloc implementation.

Event Timeline

cryptoad created this revision.Jul 31 2017, 8:40 AM
cryptoad updated this revision to Diff 108935.Jul 31 2017, 8:54 AM

Correcting Monday morning brain fart.

alekseyshl accepted this revision.Jul 31 2017, 11:39 AM
This revision is now accepted and ready to land.Jul 31 2017, 11:39 AM
cryptoad closed this revision.Jul 31 2017, 11:45 AM