[PATCH] D40940: [ubsan] Use pass_object_size info in bounds checks

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 7 15:45:19 PST 2017


vsk updated this revision to Diff 126064.
vsk added a comment.

- Handle constant size modifiers while we're at it (e.g "int foo(int p[static 10])").


https://reviews.llvm.org/D40940

Files:
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/ubsan-pass-object-size.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40940.126064.patch
Type: text/x-patch
Size: 5764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171207/0a6f44eb/attachment-0001.bin>


More information about the cfe-commits mailing list