| commit | e0c03cab58c92716882c09b279cd07417ba3ffca | [log] [tgz] |
|---|---|---|
| author | Anna Zaks <ganna@apple.com> | Wed Feb 29 18:42:47 2012 +0000 |
| committer | Anna Zaks <ganna@apple.com> | Wed Feb 29 18:42:47 2012 +0000 |
| tree | 05a674b3103521a7eb3ffb292a8e9a943172607d | |
| parent | 64d6eb1195796726f5096f84c281ca22b68aa295 [diff] |
[analyzer] Malloc: A pointer might escape through CFContainers APIs, funopen, setvbuf. Teach the checker and the engine about these APIs to resolve malloc false positives. As I am adding more of these APIs, it is clear that all this should be factored out into a separate callback (for example, region escapes). Malloc, KeyChainAPI and RetainRelease checkers could all use it. llvm-svn: 151737