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

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 11:59:08 PDT 2020


martong updated this revision to Diff 266287.
martong marked 4 inline comments as done.
martong added a comment.

- Add assert
- Create the BufferSize arg constraints in a more readable way


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.266287.patch
Type: text/x-patch
Size: 12119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200526/0c741e32/attachment.bin>


More information about the cfe-commits mailing list