summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/PointerSubChecker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change *BugReport constructors to take StringRefs.Benjamin Kramer2009-11-141-2/+1
| | | | | | | | - 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
* Refine PointerSubChecker: compare the base region instead of the original Zhongxing Xu2009-11-101-3/+9
| | | | | | region, so that arithmetic within a memory chunk is allowed. llvm-svn: 86652
* Put all long strings in 80-col.Zhongxing Xu2009-11-091-1/+2
| | | | llvm-svn: 86527
* Add checker for CWE-469: Use of Pointer Subtraction to Determine Size. ThisZhongxing Xu2009-11-091-0/+71
checker does not build sink nodes. Because svaluator computes an unknown value for the subtraction now. llvm-svn: 86517
OpenPOWER on IntegriCloud