]> granicus.if.org Git - clang/commit
[analyzer] MacOSKeychainAPIChecker: Add reasoning about functions which MIGHT dealloc...
authorAnna Zaks <ganna@apple.com>
Wed, 24 Aug 2011 00:06:27 +0000 (00:06 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 24 Aug 2011 00:06:27 +0000 (00:06 +0000)
commit6cf0ed062fb7ff3def3b627bab8ca275a549579e
tree22c1d6092bcd5407d6c380aac0791982d9fb97bc
parent31e1028afca8745ff6cfd64ecacdc05e513039ec
[analyzer] MacOSKeychainAPIChecker: Add reasoning about functions which MIGHT deallocate the memory region allocated with SecKeychain APIs. Specifically, when the buffer is passed to CFStringCreateWithBytesNoCopy along with a custom deallocator, which might potentially correctly release the memory.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138417 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
test/Analysis/keychainAPI.m