]> granicus.if.org Git - clang/commit
Add a new path-sensitive checker for functions in <string.h>, for both null-terminate...
authorJordy Rose <jediknil@belkadan.com>
Tue, 6 Jul 2010 23:11:01 +0000 (23:11 +0000)
committerJordy Rose <jediknil@belkadan.com>
Tue, 6 Jul 2010 23:11:01 +0000 (23:11 +0000)
commitccbf7eebc8425429e8fd9f9124770f86a74864eb
tree56d69ebff5d3fa155664b313ba066cc25fb7d5ff
parent0a02e3e02eaee8086ab5b1e875f99a147f1a2f17
Add a new path-sensitive checker for functions in <string.h>, for both null-terminated strings and memory blocks. Currently only checks memcpy(), memmove(), and bcopy(), but this is intended to be expanded soon.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107722 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Checker/CMakeLists.txt
lib/Checker/CStringChecker.cpp [new file with mode: 0644]
lib/Checker/GRExprEngineExperimentalChecks.cpp
lib/Checker/GRExprEngineExperimentalChecks.h
test/Analysis/bstring.c [new file with mode: 0644]