[PATCH] D139233: [-Wunsafe-buffer-usage] Add an unsafe gadget for pointer-arithmetic operations

Ziqing Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 19 17:24:44 PST 2022


ziqingluo-90 updated this revision to Diff 484138.
ziqingluo-90 added a comment.

Did a rebase and addressed the comment.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139233/new/

https://reviews.llvm.org/D139233

Files:
  clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
  clang/lib/Analysis/UnsafeBufferUsage.cpp
  clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139233.484138.patch
Type: text/x-patch
Size: 4713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221220/1f24e881/attachment.bin>


More information about the cfe-commits mailing list