]> granicus.if.org Git - clang/commit
[analyzer] Switched to checkPreCall interface for detecting usage after free.
authorAnton Yartsev <anton.yartsev@gmail.com>
Wed, 10 Apr 2013 22:21:41 +0000 (22:21 +0000)
committerAnton Yartsev <anton.yartsev@gmail.com>
Wed, 10 Apr 2013 22:21:41 +0000 (22:21 +0000)
commit55e57a50a36749ce0483db2f16259649c9d25792
tree2c9d8e3ec76d920dcd181f2c0b38107ef991076d
parent6700b003c2a28f2a92cc41970788df6aa3273156
[analyzer] Switched to checkPreCall interface for detecting usage after free.

Now the check is also applied to arguments for Objective-C method calls and to 'this' pointer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179230 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
test/Analysis/NewDelete-checker-test.cpp
test/Analysis/malloc.mm
test/Analysis/new.cpp