summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/MallocChecker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add PreVisitReturn to Malloc checker. Now we can recognize returned memoryZhongxing Xu2009-11-171-0/+26
| | | | | | block. llvm-svn: 89071
* Add EvalEndPath interface to Checker. Now we can check memory leaked at theZhongxing Xu2009-11-171-20/+52
| | | | | | end of the path. Need to unify interfaces. llvm-svn: 89063
* Change *BugReport constructors to take StringRefs.Benjamin Kramer2009-11-141-2/+2
| | | | | | | | - Eliminates many calls to std::string.c_str() - Fixes an invalid read in ReturnStackAddressChecker due to an unsafe call to StringRef.data() which doesn't guarantee null-termination. llvm-svn: 88779
* Malloc checker basically works now.Zhongxing Xu2009-11-131-2/+24
| | | | llvm-svn: 87094
* Hook up Malloc checker.Zhongxing Xu2009-11-131-0/+12
| | | | llvm-svn: 87093
* Fix MSVC build.Benjamin Kramer2009-11-121-1/+1
| | | | llvm-svn: 86983
* Add boilerplate logic for a malloc/free checker.Zhongxing Xu2009-11-121-0/+126
llvm-svn: 86978
OpenPOWER on IntegriCloud