| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
llvm-svn: 90968
|
|
|
|
| |
llvm-svn: 90847
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 89750
|
|
|
|
| |
llvm-svn: 89735
|
|
|
|
|
|
| |
in the checker directly. But I don't have a better approach for now.
llvm-svn: 89640
|
|
|
|
| |
llvm-svn: 89585
|
|
|
|
|
|
| |
also handled undefined receivers in message expressions.
llvm-svn: 89524
|
|
|
|
| |
llvm-svn: 86837
|
|
|
|
|
|
| |
Now only one test case is XFAIL'ed.
llvm-svn: 86834
|
|
|
|
|
|
| |
BadCallChecker, making their implementations completely private.
llvm-svn: 86809
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 86538
|
|
|
|
| |
llvm-svn: 86529
|
|
|
|
| |
llvm-svn: 86523
|
|
|
|
|
|
|
| |
checker does not build sink nodes. Because svaluator computes an unknown value
for the subtraction now.
llvm-svn: 86517
|
|
|
|
|
|
| |
to GRExprEngineInternalChecks.cpp.
llvm-svn: 86292
|
|
|
|
| |
llvm-svn: 86288
|
|
|
|
| |
llvm-svn: 86252
|
|
stack variable or a garbage
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
|