]> granicus.if.org Git - clang/commit
[analyzer] Add StdLibraryFunctions checker.
authorArtem Dergachev <artem.dergachev@gmail.com>
Mon, 24 Oct 2016 09:41:38 +0000 (09:41 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Mon, 24 Oct 2016 09:41:38 +0000 (09:41 +0000)
commit6c99a5533bca7bcf254586b5854248f57e50ae06
tree45a97d35805927c8a8b372a56bf58973911ae232
parent242de2f28eb87042be1bc365be1f1f51b92d88a5
[analyzer] Add StdLibraryFunctions checker.

This checker does not emit reports, however it influences the analysis
by providing complete summaries for, or otherwise improving modeling of,
various standard library functions.

This should reduce the number of infeasible paths explored during analysis.
The custom function summary format used in this checker is superior to
body farms by causing less unnecessary state splits,
which would result in better analysis performance.

Differential Revision: https://reviews.llvm.org/D20811

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284960 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp [new file with mode: 0644]
test/Analysis/std-c-library-functions.c [new file with mode: 0644]
test/Analysis/std-c-library-functions.cpp [new file with mode: 0644]