- Dec 22, 2010
-
-
Argyrios Kyrtzidis authored
[analyzer] Refactoring: Move checkers into lib/GR/Checkers and their own library, libclangGRCheckers llvm-svn: 122422
-
Argyrios Kyrtzidis authored
llvm-svn: 122421
-
- Sep 10, 2010
-
-
- Aug 07, 2010
-
-
Tom Care authored
Removed IdempotentOperationChecker from default analysis and returned back to a flag (-analyzer-check-idempotent-operations) - Added IdempotentOperationChecker to experimental analyses for testing purposes - Updated test cases to explictly call the checker llvm-svn: 110482
-
- 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
-
- Jun 09, 2010
-
-
Zhongxing Xu authored
llvm-svn: 105687
-
- Jun 08, 2010
-
-
Zhongxing Xu authored
the function call is left where the local variable is declared. llvm-svn: 105602
-
- May 25, 2010
-
-
Zhongxing Xu authored
whether the size of the symbolic region is a multiple of the size of T. Fixes PR6123 and PR7217. llvm-svn: 104584
-
- Feb 25, 2010
-
-
Ted Kremenek authored
to various MacOS X functions. The checks in BasicObjCFoundationChecks.cpp will gradually be migrated here. As a first check, check that when 'dispatch_once()' is passed a predicate value that has non-local storage. llvm-svn: 97116
-
Ted Kremenek authored
to various unix/posix functions, e.g. 'open()'. As a first check, check that when 'open()' is passed 'O_CREAT' that it has a third argument. llvm-svn: 97086
-
Ted Kremenek authored
llvm-svn: 97083
-
Ted Kremenek authored
llvm-svn: 97082
-
- Feb 16, 2010
-
-
Ted Kremenek authored
llvm-svn: 96341
-
- Feb 04, 2010
-
-
Ted Kremenek authored
a different return type. While we don't emit any errors (yet), at least we avoid cases where we might crash because of an assertion failure later on (when the return type differs from what is expected). llvm-svn: 95268
-
- Jan 25, 2010
-
-
Ted Kremenek authored
(1) libAnalysis is a generic analysis library that can be used by Sema. It defines the CFG, basic dataflow analysis primitives, and inexpensive flow-sensitive analyses (e.g. LiveVariables). (2) libChecker contains the guts of the static analyzer, incuding the path-sensitive analysis engine and domain-specific checks. Now any clients that want to use the frontend to build their own tools don't need to link in the entire static analyzer. This change exposes various obvious cleanups that can be made to the layout of files and headers in libChecker. More changes pending. :) This change also exposed a layering violation between AnalysisContext and MemRegion. BlockInvocationContext shouldn't explicitly know about BlockDataRegions. For now I've removed the BlockDataRegion* from BlockInvocationContext (removing context-sensitivity; although this wasn't used yet). We need to have a better way to extend BlockInvocationContext (and any LocationContext) to add context-sensitivty. llvm-svn: 94406
-
- Dec 09, 2009
-
-
Zhongxing Xu authored
llvm-svn: 90968
-
- Dec 08, 2009
-
-
Zhongxing Xu authored
llvm-svn: 90847
-
- Dec 07, 2009
-
-
Zhongxing Xu authored
handler to this interface. GRExprEngine::CheckerEvalCall() will return true if one of the checkers has processed the node. In the future this might return void when we have some default checker. llvm-svn: 90755
-
- Nov 24, 2009
-
-
Zhongxing Xu authored
llvm-svn: 89750
-
Zhongxing Xu authored
llvm-svn: 89735
-
- Nov 23, 2009
-
-
Zhongxing Xu authored
in the checker directly. But I don't have a better approach for now. llvm-svn: 89640
-
- Nov 22, 2009
-
-
Zhongxing Xu authored
llvm-svn: 89585
-
- Nov 21, 2009
-
-
Ted Kremenek authored
Pull BadCallChecker int UndefinedArgChecker, and have UndefinedArgChecker also handled undefined receivers in message expressions. llvm-svn: 89524
-
- Nov 11, 2009
-
-
Zhongxing Xu authored
llvm-svn: 86837
-
Zhongxing Xu authored
Now only one test case is XFAIL'ed. llvm-svn: 86834
-
Ted Kremenek authored
Remove public headers for UndefinedArgChecker, AttrNonNullChecker, and BadCallChecker, making their implementations completely private. llvm-svn: 86809
-
Ted Kremenek authored
the old builder API. This percolated a bunch of changes up to the Checker class (where CheckLocation has been renamed VisitLocation) and GRExprEngine. ProgramPoint now has the notion of a "LocationCheck" point (with PreLoad and PreStore respectively), and a bunch of the old ProgramPoints that are no longer used have been removed. llvm-svn: 86798
-
- Nov 09, 2009
-
-
Zhongxing Xu authored
llvm-svn: 86538
-
Zhongxing Xu authored
llvm-svn: 86529
-
Zhongxing Xu authored
llvm-svn: 86523
-
Zhongxing Xu authored
checker does not build sink nodes. Because svaluator computes an unknown value for the subtraction now. llvm-svn: 86517
-
- Nov 06, 2009
-
-
Ted Kremenek authored
Make the VLASizeChecker implementation private, and its creation only known to GRExprEngineInternalChecks.cpp. llvm-svn: 86292
-
Ted Kremenek authored
llvm-svn: 86288
-
Zhongxing Xu authored
llvm-svn: 86252
-
Ted Kremenek authored
value into their own respective subclasses of Checker (and put them in .cpp files where their implementation details are hidden from GRExprEngine). llvm-svn: 86215
-