Skip to content
  1. Jul 19, 2009
  2. Jul 16, 2009
    • Ted Kremenek's avatar
      Move RegionStoreManager over to using new · c7b1dade
      Ted Kremenek authored
      ValueManager::makeArrayIndex()/convertArrayIndex() methods.  This
      handles yet another crash case when reasoning about array indices of
      different bitwidth and signedness.
      
      llvm-svn: 75884
      c7b1dade
  3. Jul 14, 2009
  4. Jul 10, 2009
  5. Jul 03, 2009
  6. Jul 02, 2009
  7. Jun 30, 2009
    • Chris Lattner's avatar
      Key decisions about 'bool' vs '_Bool' to be based on a new flag in langoptions. · c61089a6
      Chris Lattner authored
      This is simple enough, but then I thought it would be nice to make PrintingPolicy
      get a LangOptions so that various things can key off "bool" and "C++" independently.
      This spiraled out of control.  There are many fixme's, but I think things are slightly
      better than they were before.
      
      One thing that can be improved: CFG should probably have an ASTContext pointer in it,
      which would simplify its clients.
      
      llvm-svn: 74493
      c61089a6
  8. Jun 23, 2009
  9. Jun 16, 2009
  10. May 09, 2009
    • Zhongxing Xu's avatar
      rename: MemRegion: · 8038f7b3
      Zhongxing Xu authored
       RValueType => ObjectType
       LValueType => LocationType
      
      No functionality change.
      
      llvm-svn: 71304
      8038f7b3
  11. May 06, 2009
  12. May 04, 2009
    • Ted Kremenek's avatar
      Per conversations with Zhongxing, add an 'element type' to · 02e50896
      Ted Kremenek authored
      ElementRegion.  I also removed 'ElementRegion::getArrayRegion',
      although we may need to add this back.
      
      This breaks a few test cases with RegionStore:
      - 'array-struct.c' triggers an infinite recursion in RegionStoreManager.  Need to investigate.
      - misc-ps.m triggers a failure with RegionStoreManager as we now get the diagnostic:
        'Line 159: Uninitialized or undefined return value returned to caller.'
        
      There were a bunch of places that needed to be edit
      RegionStoreManager, and we may not be passing all the correct 'element
      types' down from GRExprEngine.
      
      Zhongxing: When you get a chance, could you review this?  I could have
      easily screwed up something basic in RegionStoreManager.
      
      llvm-svn: 70830
      02e50896
  13. Apr 29, 2009
  14. Apr 21, 2009
  15. Apr 11, 2009
  16. Apr 10, 2009
    • Zhongxing Xu's avatar
      Add prototype for CodeTextRegion. · 1aced0c9
      Zhongxing Xu authored
      A CodeTextRegion wraps two kinds of data: FunctionDecl* or SymbolRef. 
      The latter comes from the symbolic function pointer that are generated from
      function calls or input data.
      
      llvm-svn: 68777
      1aced0c9
  17. Mar 31, 2009
  18. Mar 30, 2009
  19. Mar 26, 2009
    • Ted Kremenek's avatar
      analyzer infrastructure: make a bunch of changes to symbolic expressions that · 3e31c26f
      Ted Kremenek authored
      Zhongxing and I discussed by email.
      
      Main changes:
      - Removed SymIntConstraintVal and SymIntConstraint
      - Added SymExpr as a parent class to SymbolData, SymSymExpr, SymIntExpr
      - Added nonloc::SymExprVal to wrap SymExpr
      - SymbolRef is now just a typedef of 'const SymbolData*'
      - Bunch of minor code cleanups in how some methods were invoked (no functionality change)
      
      This changes are part of a long-term plan to have full symbolic expression
      trees. This will be useful for lazily evaluating complicated expressions.
      
      llvm-svn: 67731
      3e31c26f
  20. Mar 11, 2009
  21. Mar 04, 2009
    • Ted Kremenek's avatar
      MemRegion: · 9a92b950
      Ted Kremenek authored
      - Have 'TypedRegion::getRValueType()' return a null QualType for 'id<...>'
        instead of aborting.
      - Change 'TypedRegion::isBoundable()' to return true for all objects with a
        non-null RValueType (this may not be the final behavior).
      
      llvm-svn: 66093
      9a92b950
    • Ted Kremenek's avatar
      Added the notion of a "boundable region", which is a region that can have a... · d275bf3c
      Ted Kremenek authored
      Added the notion of a "boundable region", which is a region that can have a direct binding in the StoreManager.
      
      llvm-svn: 66005
      d275bf3c
  22. Mar 03, 2009
  23. Mar 01, 2009
Loading