[analyzer] Teach the analyzer that pointers can escape into __cxa_demangle
This fixes a reported false positive in the malloc checker. Differential Revision: https://reviews.llvm.org/D27599 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289886 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/StaticAnalyzer/Core/CallEvent.cpp 5 additions, 0 deletionslib/StaticAnalyzer/Core/CallEvent.cpp
- test/Analysis/Inputs/system-header-simulator-cxx.h 9 additions, 0 deletionstest/Analysis/Inputs/system-header-simulator-cxx.h
- test/Analysis/malloc.cpp 14 additions, 0 deletionstest/Analysis/malloc.cpp
Please register or sign in to comment