[PATCH] D77148: [analyzer] ApiModeling: Add buffer size arg constraint with multiplier involved
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 08:49:30 PDT 2020
martong created this revision.
martong added reviewers: Szelethus, NoQ, steakhal.
Herald added subscribers: cfe-commits, ASDenysPetrov, Charusso, gamesh411, dkrupp, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet, baloghadamsoftware, xazax.hun, whisperity.
Herald added a project: clang.
martong added a parent revision: D77066: [analyzer] ApiModeling: Add buffer size arg constraint.
Further develop the buffer size argumentum constraint so it can handle sizes
that we can get by multiplying two variables.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77148
Files:
clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
clang/test/Analysis/std-c-library-functions-arg-constraints.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77148.253899.patch
Type: text/x-patch
Size: 4923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200331/9b810ae4/attachment-0001.bin>
More information about the cfe-commits
mailing list