- Feb 17, 2010
-
-
Zhongxing Xu authored
For inline-based inter-procedural analysis, we will have multiple stack space regions. Use a dense map to store them. llvm-svn: 96472
-
- Feb 16, 2010
-
-
Ted Kremenek authored
llvm-svn: 96341
-
Ted Kremenek authored
to evaluate arguments. llvm-svn: 96293
-
- Feb 14, 2010
-
-
Ted Kremenek authored
the LLVMConventionsChecker. llvm-svn: 96202
-
Ted Kremenek authored
that allocate heap memory. llvm-svn: 96184
-
Ted Kremenek authored
of operating on each code decl. This exposes two flaws in AnalysisConsumer that should eventually be fixed: (1) It is not possible to associate multiple "actions" with a single command line argument. This will require the notion of an "analysis" group, and possibly tablegen support. (although eventually we want to support dynamically loading analyses as well) (2) AnalysisConsumer may not actually be scanning the declarations in namespaces. We'll experiment first in LLVMConventionsChecker before changing the behavior in AnalysisConsumer. llvm-svn: 96183
-
Ted Kremenek authored
llvm-svn: 96181
-
Ted Kremenek authored
No functionality change. llvm-svn: 96180
-
Zhongxing Xu authored
llvm-svn: 96154
-
Ted Kremenek authored
Currently these checks are intended to be largely syntactical, but may get more sophisticated over time. As an initial foray into this brave new world, emit a static analyzer warning when binding a temporary 'std::string' to an 'llvm::StringRef' where the lifetime of the 'std::string' does not outlive the 'llvm::StringRef'. llvm-svn: 96147
-
- Feb 13, 2010
-
-
Ted Kremenek authored
by scanning through the values of LazyCompoundVals. llvm-svn: 96067
-
Ted Kremenek authored
No functionality change. llvm-svn: 96060
-
- Feb 11, 2010
-
-
Douglas Gregor authored
and CXXRecordDecl::getDefinition(); it's totally unnecessary. No functionality change. llvm-svn: 95836
-
- Feb 10, 2010
-
-
Zhongxing Xu authored
llvm-svn: 95755
-
- Feb 09, 2010
-
-
Ted Kremenek authored
NULL, not the store, to determine if a lookup succeeded. The store can be null if it contained no bindings. This fixes a false positive reported to me by a user of the analyzer. llvm-svn: 95679
-
- Feb 08, 2010
-
-
Daniel Dunbar authored
llvm-svn: 95563
-
Benjamin Kramer authored
llvm-svn: 95561
-
Benjamin Kramer authored
llvm-svn: 95552
-
Ted Kremenek authored
llvm-svn: 95547
-
Benjamin Kramer authored
3 files changed, 76 insertions(+), 153 deletions(-) llvm-svn: 95546
-
Ted Kremenek authored
llvm-svn: 95545
-
Zhongxing Xu authored
GRState::getSVal(MemRegion*) => Load(). llvm-svn: 95541
-
Zhongxing Xu authored
llvm-svn: 95540
-
Zhongxing Xu authored
alloca region. llvm-svn: 95539
-
Zhongxing Xu authored
It's more sophisticated than the original one of BasicStore. But it does matter. llvm-svn: 95536
-
Zhongxing Xu authored
llvm-svn: 95535
-
Zhongxing Xu authored
llvm-svn: 95534
-
Zhongxing Xu authored
llvm-svn: 95531
-
Zhongxing Xu authored
llvm-svn: 95529
-
- Feb 06, 2010
-
-
Ted Kremenek authored
Also teach RegionStore::RetrieveVar() to handle 'static' pointers that are implicitly initialized to NULL. llvm-svn: 95479
-
Ted Kremenek authored
Fix regression in RegionStore (from BasicStore) where static variables were not treated as being implicitly initialized to 0 (and instead were getting symbolicated). llvm-svn: 95478
-
Ted Kremenek authored
llvm-svn: 95459
-
- Feb 05, 2010
-
-
Zhongxing Xu authored
llvm-svn: 95365
-
Zhongxing Xu authored
llvm-svn: 95364
-
Zhongxing Xu authored
llvm-svn: 95362
-
Zhongxing Xu authored
llvm-svn: 95360
-
Zhongxing Xu authored
llvm-svn: 95357
-
Zhongxing Xu authored
spread GRState* everywhere. llvm-svn: 95354
-
- Feb 04, 2010
-
-
Zhongxing Xu authored
llvm-svn: 95290
-
Ted Kremenek authored
llvm-svn: 95287
-