]> granicus.if.org Git - clang/commit
[analyzer] Pointers escape into +[NSValue valueWithPointer:]...
authorJordan Rose <jordan_rose@apple.com>
Tue, 7 Jan 2014 21:39:48 +0000 (21:39 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 7 Jan 2014 21:39:48 +0000 (21:39 +0000)
commite5a3d59aded860bf572543561b3fb45d938ba962
tree5870fb1aa3f50a228fd1176ea1c0b1c683a5bfa3
parent52993f176ae750940e874c7c11d1cc377f4991bb
[analyzer] Pointers escape into +[NSValue valueWithPointer:]...

...even though the argument is declared "const void *", because this is
just a way to pass pointers around as objects. (Though NSData is often
a better one.)

PR18262

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198710 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
lib/StaticAnalyzer/Core/CallEvent.cpp
test/Analysis/Inputs/system-header-simulator-objc.h
test/Analysis/malloc.m