[PATCH] D34121: [ubsan] Teach the pointer overflow check that "p - <unsigned> <= p" (PR33430)

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 12 16:39:28 PDT 2017


vsk updated this revision to Diff 102261.
vsk marked an inline comment as done.
vsk edited the summary of this revision.
vsk added a comment.

Thanks for the review! I'll wait for another 'lgtm'.


https://reviews.llvm.org/D34121

Files:
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/ubsan-pointer-overflow.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34121.102261.patch
Type: text/x-patch
Size: 7796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170612/4bf24491/attachment-0001.bin>


More information about the cfe-commits mailing list