]> granicus.if.org Git - clang/commit
Add a checker check if a global variable holds a local variable's address after
authorZhongxing Xu <xuzhongxing@gmail.com>
Tue, 8 Jun 2010 10:00:00 +0000 (10:00 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Tue, 8 Jun 2010 10:00:00 +0000 (10:00 +0000)
commit1622a547971cee50e386b4cdfe62ed1fcee1036d
treed5e849b80aa730e98b0d4a91ae95429b3aa4d2a2
parent30d91718a676177f0d0d0210ce4fdb4f616df6e5
Add a checker check if a global variable holds a local variable's address after
the function call is left where the local variable is declared.

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