[PATCH] D33910: [ubsan] Detect invalid unsigned pointer index expression (clang)

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 5 17:48:16 PDT 2017


vsk updated this revision to Diff 101479.
vsk marked 3 inline comments as done.
vsk added a comment.

Thanks for the review comments. I've changed the calls which use Builder as suggested, and fixed up the tests.

It sounds like this patch is in good shape, so I'll commit this after two days provided that there's no blocking feedback.


https://reviews.llvm.org/D33910

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: D33910.101479.patch
Type: text/x-patch
Size: 19791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170606/546e7189/attachment-0001.bin>


More information about the cfe-commits mailing list