This is an archive of the discontinued LLVM Phabricator instance.

[msan] Check for pvalloc overflow
ClosedPublic

Authored by cryptoad on Aug 1 2017, 11:06 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.

This time I made sure I was actually running (and writing) the correct tests,
and that they are passing...

Event Timeline

cryptoad created this revision.Aug 1 2017, 11:06 AM
alekseyshl accepted this revision.Aug 2 2017, 1:29 PM
This revision is now accepted and ready to land.Aug 2 2017, 1:29 PM
cryptoad closed this revision.Aug 2 2017, 1:32 PM