[PATCH] D33305: [ubsan] Add a check for pointer overflow UB

Will Dietz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 29 10:43:22 PDT 2017


dtzWill added a comment.

LGTM!

I've built quite a bit with this (ground-up Linux distribution) which attests to it being fairly robust (no crashing or new errors not experienced with unpatched clang) and the bugs found so far are all true positives (few of which were caught and reported last time around).

For what it's worth, this needs to be adjusted slightly to work with latest Clang.  Changes were straightforward as I recall, updated patch attached.

F3381492: D33305.diff <https://reviews.llvm.org/F3381492>


https://reviews.llvm.org/D33305





More information about the cfe-commits mailing list