]> granicus.if.org Git - clang/commit
[analyzer] Malloc: cleanup, disallow free on relinquished memory.
authorAnna Zaks <ganna@apple.com>
Wed, 20 Jun 2012 20:57:46 +0000 (20:57 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 20 Jun 2012 20:57:46 +0000 (20:57 +0000)
commit050cdd7107526df8ff7a8e0a08b3e99c83c263c0
tree23dbc134505ffa121467669a2de06cec4679205d
parent2df3a7a58b37d87ebf9e5e9251d56d1f8506f8b6
[analyzer] Malloc: cleanup, disallow free on relinquished memory.

This commits sets the grounds for more aggressive use after free
checking. We will use the Relinquished sate to denote that someone
else is now responsible for releasing the memory.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158850 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
test/Analysis/malloc-annotations.c