]> granicus.if.org Git - clang/commit
BasicConstraintManager:
authorTed Kremenek <kremenek@apple.com>
Wed, 3 Dec 2008 18:56:12 +0000 (18:56 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 3 Dec 2008 18:56:12 +0000 (18:56 +0000)
commit73abd133aeda75971212176b1b4f7f251976d7cf
treeab2e7b7eaf8f3edc62bc7b2e031cc7f9e44980e3
parentcb354721a69038ecf371c7c84fb210d2d9c70f12
BasicConstraintManager:
- Fix nonsensical logic in AssumeSymLE. When comparing 'sym <= constant' and the
  constant is the minimum integer value, add the constraint that 'sym ==
  constant' when the path is deemed feasible.  All other cases are feasible.
- Improve AssumeSymLT to address <rdar://problem/6407949>.  When comparing
  'sym < constant' and constant is the minimum integer value we know the
  path is infeasible.
- Add test case for <rdar://problem/6407949>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60489 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicConstraintManager.cpp
test/Analysis/null-deref-ps.c