| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Dimitry Andric!
llvm-svn: 111327
|
|
|
|
| |
llvm-svn: 111314
|
|
|
|
| |
llvm-svn: 111304
|
|
|
|
|
|
| |
and remove getStrData(). Patch by Peter Davies (with some tweaks).
llvm-svn: 111229
|
|
|
|
| |
llvm-svn: 111217
|
|
|
|
|
|
| |
Fixes PR7925.
llvm-svn: 111205
|
|
|
|
|
|
| |
some test cases.
llvm-svn: 111190
|
|
|
|
|
|
| |
an explicit isValid() method.
llvm-svn: 111181
|
|
|
|
|
|
| |
inline-friendly anymore.
llvm-svn: 111179
|
|
|
|
|
|
|
|
| |
- Fix memcpy() and friends to actually invalidate the destination buffer.
- Emit a different message for out-of-bounds buffer accesses if the buffer is being written to.
- When conjuring symbols, let ValueManager figure out the type.
llvm-svn: 111120
|
|
|
|
|
|
|
|
|
|
| |
for the purpose of bounds-checking.
- Rewrite GRState::AssumeInBound to actually do that checking, and to use the normal constraint path.
- Remove ConstraintManager::AssumeInBound.
- Teach RegionStore and FlatStore to ignore those regions for now.
llvm-svn: 111116
|
|
|
|
|
|
| |
inlining now.
llvm-svn: 111113
|
|
|
|
|
|
| |
GRState now.
llvm-svn: 111103
|
|
|
|
| |
llvm-svn: 111099
|
|
|
|
|
|
| |
iterate over symbols being tracked, instead of symbols being dead.
llvm-svn: 111097
|
|
|
|
| |
llvm-svn: 111091
|
|
|
|
|
|
| |
region change callback. Now does basic tracking of string length for general regions. Currently this is still only used for modeling strlen().
llvm-svn: 111081
|
|
|
|
|
|
| |
work-in-progress, but working! Effect on clients: all changes to a store now go through GRState.
llvm-svn: 111078
|
|
|
|
| |
llvm-svn: 111077
|
|
|
|
|
|
| |
associated with a region and will be collected if the region dies or its checker fails to mark it as in use.
llvm-svn: 111076
|
|
|
|
| |
llvm-svn: 110996
|
|
|
|
|
|
|
| |
- Added detection of Empty CFGBlocks (artificial blocks)
- Relaxed an assertion based on an incorrect assumption until further investigation
llvm-svn: 110974
|
|
|
|
|
|
|
|
|
| |
- Unfinished analysis may still report valid warnings if the path was completely analyzed
- New 'CanVary' heuristic to recursively determine if a subexpression has a varying element
- Updated test cases, including one known bug
- Exposed GRCoreEngine through GRExprEngine
llvm-svn: 110970
|
|
|
|
|
|
| |
the way it's being used. Also fix isa<OwnershipAttr> support, break more-than-80-char lines, and other miscellaneous ownership attr cleanup.
llvm-svn: 110908
|
|
|
|
| |
llvm-svn: 110904
|
|
|
|
| |
llvm-svn: 110784
|
|
|
|
|
|
| |
visited a block too many times along a given path. This is to support the unreachable code analysis.
llvm-svn: 110755
|
|
|
|
|
|
| |
reduced to a constant.
llvm-svn: 110592
|
|
|
|
|
|
|
|
| |
an lvalue of another, compatible Objective-C object type (e.g., a
subclass). Introduce a new initialization sequence step kind to
describe this binding, along with a new cast kind. Fixes PR7741.
llvm-svn: 110513
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 110473
|
|
|
|
|
|
| |
scope of the variable and condensing the code.
llvm-svn: 110472
|
|
|
|
|
|
| |
leak is not a hard enough bug to stop analyzing a path.
llvm-svn: 110471
|
|
|
|
|
|
| |
checkersEvaluated really meaningful.
llvm-svn: 110430
|
|
|
|
| |
llvm-svn: 110392
|
|
|
|
|
|
| |
valid Loc. Fixes PR7830.
llvm-svn: 110390
|
|
|
|
|
|
| |
sometimes allow for multiple sequential statements to be flagged.
llvm-svn: 110353
|
|
|
|
| |
llvm-svn: 110330
|
|
|
|
| |
llvm-svn: 110320
|
|
|
|
| |
llvm-svn: 110317
|
|
|
|
|
|
| |
called for non-region locations.
llvm-svn: 110310
|
|
|
|
| |
llvm-svn: 110309
|
|
|
|
|
|
| |
analyzer. Fixes a crash reported in <rdar://problem/8272168>. Patch by Henry Mason!
llvm-svn: 110289
|
|
|
|
|
|
|
|
| |
IMHO a little easier to understand), and add the same sort of caching for EvalAssume (tied for least-used callback), mostly as proof-of-concept.
Before we go further with these, we should figure out a way to reuse the visit-and-cache code in CheckerVisit.
llvm-svn: 110191
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
UnreachableCodeChecker
- Reporting now uses getUnreachableStmt which returns the Stmt* we should report
- Indexing of reachable and visited blocks now use CFGBlock ID's instead of pointers
- The CFG used in the unreachable search is now the unoptimized CFG
- Added 'Dead code' category to warnings
- Removed obsolete function getCondition
- Simplified false positive detection based on properties of FindUnreachableEntryPoints
llvm-svn: 110148
|
|
|
|
|
|
|
|
| |
changes through GRState instead of directly accessing the StoreManager. Also adds cover methods for InvalidateRegion(s) and EnterStackFrame to GRState.
This is in preparation for proposed region change notifications. No functionality change.
llvm-svn: 110137
|
|
|
|
|
|
| |
shouldn't put restrictions in store manager.
llvm-svn: 110106
|
|
|
|
| |
llvm-svn: 110102
|
|
|
|
|
|
|
|
|
| |
doing postanalysis. This allows the checker to gather information about the state of the engine when it has finished.
- Exposed the worklist and BlockAborted flag in GRCoreEngine
- Changed postanalysis checkers to use the new infrastructure
llvm-svn: 110095
|
|
|
|
|
|
| |
analysis) that doesn't prune CFG edges.
llvm-svn: 110087
|