[PATCH] D79432: [analyzer] StdLibraryFunctionsChecker: Add summaries for libc

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 10:15:06 PDT 2020


martong created this revision.
martong added reviewers: Szelethus, NoQ, baloghadamsoftware, balazske, steakhal.
Herald added subscribers: cfe-commits, ASDenysPetrov, Charusso, gamesh411, dkrupp, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet, xazax.hun, whisperity.
Herald added a project: clang.

Add a few functions for libc. The code in this patch that adds the summaries is
auto generated from Cppcheck's config directory
(https://github.com/danmar/cppcheck/blob/master/cfg/std.cfg). Note that not all
functions are lifted in this patch. Probably another patch will follow with more
summaries for libc.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79432

Files:
  clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
  clang/test/Analysis/std-c-library-functions.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79432.262154.patch
Type: text/x-patch
Size: 10644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200505/5064b56c/attachment-0001.bin>


More information about the cfe-commits mailing list