[PATCH] D49589: [UBSan] Strengthen pointer checks in 'new' expressions

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 26 10:04:40 PDT 2018


sepavloff updated this revision to Diff 157519.
sepavloff added a comment.

Updated patch

Now information, if sanitizer checks are generated while processing 'new'
expression, is passed through function call arguments.


Repository:
  rC Clang

https://reviews.llvm.org/D49589

Files:
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CGExprCXX.cpp
  lib/CodeGen/CGValue.h
  lib/CodeGen/CodeGenFunction.h
  test/CodeGenCXX/ubsan-new-checks.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49589.157519.patch
Type: text/x-patch
Size: 17556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180726/a2a0f3e0/attachment-0001.bin>


More information about the cfe-commits mailing list