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

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 13 13:55:52 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL307955: [ubsan] Teach the pointer overflow check that "p - <unsigned> <= p" (PR33430) (authored by vedantk).

Changed prior to commit:
  https://reviews.llvm.org/D34121?vs=103606&id=106524#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34121

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34121.106524.patch
Type: text/x-patch
Size: 9669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170713/1df5cef8/attachment-0001.bin>


More information about the cfe-commits mailing list