- Aug 01, 2009
-
-
Ted Kremenek authored
Temporarily disable out-of-bounds checking. The current checking logic will not work quite right with the changes I'm about to commit. llvm-svn: 77779
-
- Jul 31, 2009
-
-
Mike Stump authored
llvm-svn: 77651
-
- Jul 30, 2009
-
-
Benjamin Kramer authored
llvm-svn: 77589
-
Zhongxing Xu authored
Move all components creation code into AnalysisConsumer::DigestAnalyzerOptions(). llvm-svn: 77585
-
Daniel Dunbar authored
llvm-svn: 77577
-
Zhongxing Xu authored
AnalysisContext. llvm-svn: 77563
-
- Jul 29, 2009
-
-
Ted Kremenek authored
Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>() Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>() Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>() Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>() Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsTagType() -> Type::getAs<TagType>() And remove Type::getAsReferenceType(), etc. This change is similar to one I made a couple weeks ago, but that was partly reverted pending some additional design discussion. With Doug's pending smart pointer changes for Types, it seemed natural to take this approach. llvm-svn: 77510
-
Ted Kremenek authored
OldCastRegion used), and the associated command line option '-analyzer-store=old-basic-cast'. llvm-svn: 77509
-
Ted Kremenek authored
we don't care about ElementRegions layered on top of a base region. llvm-svn: 77484
-
Ted Kremenek authored
in StoreManager to RegionStoreManager, and create a special, highly reduced version in BasicStoreManager. These changes are in preparation for future RegionStore-specific changes to InvalidateRegion. llvm-svn: 77483
-
Ted Kremenek authored
index 0. This will be used for refinements to InvalidateRegion and CastRegion. llvm-svn: 77481
-
Ted Kremenek authored
llvm-svn: 77479
-
Zhongxing Xu authored
llvm-svn: 77447
-
- Jul 28, 2009
-
-
Ted Kremenek authored
could cause false positives if any the subexpressions had side-effects. These initializers weren't evaluated because the StoreManager would need to handle them, but that's an orthogonal problem of whether or not the StoreManager can handle the binding. llvm-svn: 77361
-
Ted Kremenek authored
was created but not added to the destination NodeSet. This fixes PR 4630. llvm-svn: 77353
-
Ted Kremenek authored
valid SourceLocation. llvm-svn: 77280
-
- Jul 25, 2009
-
-
Mike Stump authored
calls to noreturn function pointers when CFG building. llvm-svn: 77089
-
Owen Anderson authored
llvm-svn: 77012
-
- Jul 24, 2009
-
-
Ted Kremenek authored
if the DeclRefExpr is a float, not just either argument. llvm-svn: 76998
-
Ted Kremenek authored
llvm-svn: 76955
-
Ted Kremenek authored
TryEvaluateBool instead of using a raw 'int'. This avoids any confusion of how 'int' converts to bool, and makes the resultant code easier to read. Condense a bunch of 'addSuccessor()' calls in 'if ... else' to use the ternary operator instead. llvm-svn: 76947
-
Zhongxing Xu authored
llvm-svn: 76940
-
Ted Kremenek authored
llvm-svn: 76924
-
Mike Stump authored
llvm-svn: 76911
-
-
- Jul 23, 2009
-
-
Ted Kremenek authored
llvm-svn: 76901
-
Ted Kremenek authored
This implements <rdar://problem/6336718> and checks for CERT secure coding advisory FLP30-C. llvm-svn: 76900
-
Zhongxing Xu authored
- Root is the main function or 0. - ExternalCallingNode has edges to all external functions. llvm-svn: 76876
-
Zhongxing Xu authored
- change the DenseMap used in callgraph to std::map, since DenseMap cannot be used with mapped_iterator and friends. llvm-svn: 76874
-
Daniel Dunbar authored
--- Reverse-merging r76831 into '.': U include/clang/Analysis/PathSensitive/GRExprEngine.h U lib/Analysis/GRExprEngine.cpp llvm-svn: 76851
-
Ted Kremenek authored
llvm-svn: 76833
-
Ted Kremenek authored
llvm-svn: 76831
-
Mike Stump authored
llvm-svn: 76814
-
Ted Kremenek authored
Educate GRExprEngine::VisitGraph() about 'PreStmt'. Mark the constructor of 'PostStmt' to be explicit, preventing implicit conversions and the selection of the wrong 'generateNode' method in GRStmtNodeBuilder. Constify a bunch of arguments, which falls out of the changes to ProgramPoint. llvm-svn: 76809
-
- Jul 22, 2009
-
-
Ted Kremenek authored
'Checker' interface. An updated test case illustrates that after calling a function with the 'nonnull' attribute we now register the fact that the passed pointer must be non-null. This retention of information was not possible with the previously used GRSimpleAPICheck interface. llvm-svn: 76797
-
Ted Kremenek authored
llvm-svn: 76795
-
Ted Kremenek authored
Add a 'previsit' stage (that dispatches to registered Checkers) when evaluating the effects of CallExprs. llvm-svn: 76794
-
Ted Kremenek authored
llvm-svn: 76792
-
Ted Kremenek authored
BugReporter API. No real functionality change. llvm-svn: 76760
-
Ted Kremenek authored
instead preferring to use the a region's actual type when creating symbols and using the QualType passed to Retrieve for implicit casting. This preprocessor logic is temporary; eventually we will either remove region casts or keep them. Temporarily toggle (via preprocessor directives) that SymbolicRegions with heap storage are not undefined, but instead should be symbolicated. If we want to model that a SymbolicRegion is uninitialized, we can explicitly model that by binding UndefinedVal to that region. It turns out that we want to treat most heap objects as being defined, not the other way around. llvm-svn: 76720
-