- Aug 02, 2010
-
-
Zhongxing Xu authored
the top-level object. FlatStore now can bind and retrieve element and field regions. PR7297 is fixed by flat store. llvm-svn: 110020
-
- Jul 31, 2010
-
-
Ted Kremenek authored
After a lengthy design discussion, add support for "ownership attributes" for malloc/free checking. Patch by Andrew McGregor! llvm-svn: 109939
-
- Jul 30, 2010
-
-
Tom Care authored
llvm-svn: 109893
-
- Jul 29, 2010
-
-
Jordy Rose authored
Use a LazyCompoundVal to handle initialization with a string literal, rather than copying each character. llvm-svn: 109734
-
Ted Kremenek authored
Teach GRExprEngine::VisitLValue() about FloatingLiteral, ImaginaryLiteral, and CharacterLiteral. Fixes an assertion failure reported in PR 7675. llvm-svn: 109719
-
Ted Kremenek authored
Augment RegionStore::BindStruct() to bind symbolicated struct values. This fixes a false path issue reported in <rdar://problem/8243408> and also spurs another cause where the idempotent operations checker fires. llvm-svn: 109710
-
Ted Kremenek authored
llvm-svn: 109709
-
Ted Kremenek authored
llvm-svn: 109708
-
Ted Kremenek authored
Remove extraneous guards around the call to getConjuredSymbolVal(). These checks are already done within getConjuredSymbolVal() itself. llvm-svn: 109707
-
- Jul 28, 2010
-
-
Tom Care authored
- Allowed reporting of dead macros - Added path walking function to search for false positives in conditional statements - Updated some affected tests - Added some false positive test cases llvm-svn: 109561
-
Tom Care authored
Extracted out some useful common functions in IdempotentOperationChecker to their own CheckerHelpers file. llvm-svn: 109560
-
- Jul 27, 2010
-
-
Ted Kremenek authored
Finesse 'idempotent operations' analyzer issues to include the opcode of the binary operator for clearer error reporting. Also remove the 'Idempotent operation' prefix in messages; it's redundant since the bug type is the same. llvm-svn: 109527
-
Ted Kremenek authored
llvm-svn: 109517
-
Jordy Rose authored
The next step is to warn if a block labeled unreachable is, in fact, reachable. Somewhat related to PR810. llvm-svn: 109487
-
Jordy Rose authored
Groundwork for C string length tracking. Currently only handles the length of constant string literals, which is not too helpful, and only calls to strlen() are checked. llvm-svn: 109480
-
- Jul 24, 2010
-
-
Tom Care authored
- Created a new class to do post-analysis - Updated several test cases with unreachable code to expect a warning - Added some general tests llvm-svn: 109286
-
- Jul 23, 2010
-
-
Zhongxing Xu authored
llvm-svn: 109225
-
Zhongxing Xu authored
llvm-svn: 109218
-
Zhongxing Xu authored
llvm-svn: 109211
-
Zhongxing Xu authored
llvm-svn: 109210
-
- Jul 22, 2010
-
-
Zhongxing Xu authored
llvm-svn: 109106
-
Zhongxing Xu authored
engine of the new translation unit. State marshal is there but no real work is done. End nodes are passed back. llvm-svn: 109105
-
- Jul 21, 2010
-
-
Zhongxing Xu authored
llvm-svn: 108988
-
- Jul 20, 2010
-
-
Zhongxing Xu authored
llvm-svn: 108811
-
Zhongxing Xu authored
llvm-svn: 108804
-
Zhongxing Xu authored
llvm-svn: 108803
-
Zhongxing Xu authored
llvm-svn: 108801
-
Zhongxing Xu authored
llvm-svn: 108800
-
- Jul 19, 2010
-
-
Zhongxing Xu authored
llvm-svn: 108670
-
Zhongxing Xu authored
llvm-svn: 108669
-
Zhongxing Xu authored
llvm-svn: 108668
-
- Jul 18, 2010
-
-
Chris Lattner authored
llvm-svn: 108633
-
- Jul 17, 2010
-
-
Benjamin Kramer authored
llvm-svn: 108621
-
Zhongxing Xu authored
Let AnalysisContext contain a TranslationUnit. Let CallEnter refer to an AnalysisContext instead of a FunctionDecl. llvm-svn: 108617
-
rdar://problem/8202272Ted Kremenek authored
Fix '<rdar://problem/8202272> __imag passed non-complex should not crash' by removing a bogus assertion. llvm-svn: 108602
-
Ted Kremenek authored
an APFloat with different "float semantics" than the compared float literal. llvm-svn: 108590
-
- Jul 16, 2010
-
-
Tom Care authored
Improved false positive rate for the idempotent operations checker and moved it into the default path-sensitive analysis options. - Added checks for static local variables, self assigned parameters, and truncating/extending self assignments - Removed command line option (now default with --analyze) - Updated test cases to pass with idempotent operation warnings llvm-svn: 108550
-
- Jul 15, 2010
-
-
Benjamin Kramer authored
llvm-svn: 108375
-
- Jul 14, 2010
-
-
Douglas Gregor authored
reinterpret_casts (possibly indirectly via C-style/functional casts) on values, e.g., int i; reinterpret_cast<short&>(i); The IR generated for this is essentially the same as for *reinterpret_cast<short*>(&i). Fixes PR6437, PR7593, and PR7344. llvm-svn: 108294
-
- Jul 09, 2010
-
-
Jordy Rose authored
llvm-svn: 107935
-