- Oct 25, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58135
-
- Oct 24, 2008
-
-
Ted Kremenek authored
llvm-svn: 58114
-
Ted Kremenek authored
followsFundamentalRule() returns true if "alloc" or "new" appear at the beginning of the string, not anywhere within it. llvm-svn: 58112
-
Ted Kremenek authored
Implicit conversions from arrays can also be conversions to references (will add a test case shortly). llvm-svn: 58110
-
Ted Kremenek authored
Issue warnings about owned objects returned from a method that does not match the established Cocoa naming conventions. llvm-svn: 58108
-
Ted Kremenek authored
Added method "getSelfRegion" to Store. This method returns the region associated with the "this" or "self" object (C++ and Objective-C respectively). llvm-svn: 58107
-
Ted Kremenek authored
llvm-svn: 58106
-
Zhongxing Xu authored
The Decl of an array region can be VarDecl or FieldDecl. Handle this in RegionStoreManager::ArrayToPointer(). llvm-svn: 58086
-
Zhongxing Xu authored
the array initialization code into a function. llvm-svn: 58083
-
Zhongxing Xu authored
llvm-svn: 58077
-
Zhongxing Xu authored
llvm-svn: 58074
-
Zhongxing Xu authored
llvm-svn: 58073
-
Zhongxing Xu authored
llvm-svn: 58070
-
Zhongxing Xu authored
llvm-svn: 58061
-
Zhongxing Xu authored
llvm-svn: 58058
-
Ted Kremenek authored
llvm-svn: 58056
-
- Oct 23, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58030
-
Zhongxing Xu authored
llvm-svn: 58028
-
Ted Kremenek authored
Disable warning about potential leaks of returned values until we test it a little more (lots of noise). llvm-svn: 58021
-
Ted Kremenek authored
Warn about potentially leaked objects that are returned from methods whose names do not follow the Cocoa Memory Management guidelines. llvm-svn: 58012
-
- Oct 22, 2008
-
-
Ted Kremenek authored
Enhance reference-count checker to correctly identify CG "release" functions. This fixes <rdar://problem/6303488>. llvm-svn: 57997
-
Zhongxing Xu authored
llvm-svn: 57977
-
Zhongxing Xu authored
llvm-svn: 57964
-
Zhongxing Xu authored
llvm-svn: 57963
-
- Oct 21, 2008
-
-
Ted Kremenek authored
When conjuring symbols for compound assignments, use the promoted type to determine if the symbolic value as a "loc::" or "nonloc::" value. llvm-svn: 57917
-
Douglas Gregor authored
llvm-svn: 57910
-
Douglas Gregor authored
llvm-svn: 57909
-
Ted Kremenek authored
Handle [NSAutoreleasePool addObject:] (an alternative way to add objects to the current autorelease pool). Added initial code for tracking stack of autorelease pools. llvm-svn: 57908
-
Zhongxing Xu authored
GRExprEngine::VisitCast() so that other parts of the analyzer can be ignorant. When we cast "array of type T" to "pointer to T", we get the loc::MemRegionVal corresponding to the array variable. This is sufficient for BasicStore, but not for RegionStore. RegionStore should get the element region for the first array element in the cast. So next comes to the revamping of transfer functions for different store model. llvm-svn: 57897
-
Zhongxing Xu authored
llvm-svn: 57896
-
Zhongxing Xu authored
RValues.h/cpp => SVals.h/cpp llvm-svn: 57893
-
Zhongxing Xu authored
initialized to UndefinedVal. llvm-svn: 57892
-
Zhongxing Xu authored
llvm-svn: 57891
-
Ted Kremenek authored
Further improve path-sensitivity with divide-by-zero checking by assuming that a denominator cannot be zero even when the result of an '/' or '%' expression is unknown. llvm-svn: 57855
-
Ted Kremenek authored
Used conjured symbols to recover path-sensitivity when the result of a compound assignment is UnknownVal(). llvm-svn: 57851
-
- Oct 19, 2008
-
-
Ted Kremenek authored
llvm-svn: 57777
-
- Oct 18, 2008
-
-
Ted Kremenek authored
Generalize VisitLValue: not only can CallExprs and ObjCMessageExprs return aggregate temporaries, so can many other expressions. llvm-svn: 57761
-
Ted Kremenek authored
Function calls and ObjC message expressions can be used in a lvalue context if they return a structure. E.g foo().x == 1. We don't really support, however, such temporaries yet in the environment or the store. llvm-svn: 57760
-
Ted Kremenek authored
retain/release checker: Check if a tracked value escapes if we also try binding it to the store and the store doesn't support that binding (i.e., it cannot track it). This has the nice feature that the checker will automatically get more powerful if we use a more powerful store model. llvm-svn: 57755
-
Ted Kremenek authored
Use "VisitLValue" when processing the base for "x.f" field accesses, and "Visit" when processing the base for "x->f" field accesses. llvm-svn: 57754
-