[PATCH] D149321: [clang][analyzer] Display buffer sizes in StdCLibraryFunctionArgs checker
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 27 01:02:37 PDT 2023
balazske created this revision.
Herald added subscribers: steakhal, manas, ASDenysPetrov, martong, gamesh411, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware, xazax.hun.
Herald added a reviewer: Szelethus.
Herald added a reviewer: NoQ.
Herald added a project: All.
balazske requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
If a wrong (too small) buffer argument is found, the dynamic buffer size and
values of connected arguments are displayed in the warning message, if
these are simple known integer values.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149321
Files:
clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
clang/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp
clang/test/Analysis/std-c-library-functions-arg-constraints-tracking-notes.c
clang/test/Analysis/std-c-library-functions-arg-constraints.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149321.517474.patch
Type: text/x-patch
Size: 13663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230427/dc8a0ba5/attachment-0001.bin>
More information about the cfe-commits
mailing list