[analyzer] Fix a false positive in Secure Keychain API checker.
Better handle the blacklisting of known bad deallocators when symbol escapes through a call to CFStringCreateWithBytesNoCopy. Addresses radar://12702952. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171770 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/StaticAnalyzer/Checkers/Checkers.td 1 addition, 1 deletionlib/StaticAnalyzer/Checkers/Checkers.td
- lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp 9 additions, 7 deletionslib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
- test/Analysis/keychainAPI.m 19 additions, 0 deletionstest/Analysis/keychainAPI.m
Please register or sign in to comment