diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2017-08-04 20:28:59 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2017-08-04 20:28:59 +0000 |
commit | d7d1681a0e66953e8552a26ca14019352a2aff0c (patch) | |
tree | 77c4b6cb1def0055e2812ec8b223c186cd6ca0d6 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | b24df62bb61c7db78eb389f1e646900e6af8508d (diff) | |
download | bcm5719-llvm-d7d1681a0e66953e8552a26ca14019352a2aff0c.tar.gz bcm5719-llvm-d7d1681a0e66953e8552a26ca14019352a2aff0c.zip |
[asan] Check for pvalloc overlow
Summary:
Last one of the `pvalloc` overflow checks!
`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 ASan's `pvalloc` implementation.
Reviewers: alekseyshl
Reviewed By: alekseyshl
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D36257
llvm-svn: 310119
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions