[PATCH] D77066: [analyzer] ApiModeling: Add buffer size arg constraint

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 07:27:44 PDT 2020


martong updated this revision to Diff 257317.
martong marked an inline comment as done.
martong added a comment.

- Rebase to master
- Use BinaryOperator::negateComparisonOp
- getBufferDynamicSize -> getDynamicSizeWithOffset


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77066

Files:
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicSize.h
  clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
  clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
  clang/lib/StaticAnalyzer/Core/DynamicSize.cpp
  clang/test/Analysis/std-c-library-functions-arg-constraints.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77066.257317.patch
Type: text/x-patch
Size: 12274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200414/992ce235/attachment-0001.bin>


More information about the cfe-commits mailing list