diff options
author | Anna Zaks <ganna@apple.com> | 2012-08-03 18:30:18 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-08-03 18:30:18 +0000 |
commit | ede875b794e8f35aa1432e61610ea6e84360b6d3 (patch) | |
tree | 3c9025452661ef878a4099cc413c92c8cab5a9ee /lib/StaticAnalyzer/Core/ProgramState.cpp | |
parent | f1aae3bc4e43fca03324150d7089856b7cfdc023 (diff) |
[analyzer] Malloc: track non-allocated but freed memory
There is no reason why we should not track the memory which was not
allocated in the current function, but was freed there. This would
allow to catch more use-after-free and double free with no/limited IPA.
Also fix a realloc issue which surfaced as the result of this patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ProgramState.cpp')
0 files changed, 0 insertions, 0 deletions