Skip to content
  1. Aug 16, 2011
  2. Mar 01, 2011
  3. Feb 24, 2011
  4. Feb 10, 2011
  5. Feb 08, 2011
  6. Jan 19, 2011
  7. Dec 23, 2010
  8. Dec 22, 2010
  9. Dec 20, 2010
  10. Dec 02, 2010
  11. Dec 01, 2010
  12. Sep 01, 2010
  13. Jul 04, 2010
    • Jordy Rose's avatar
      Add a new symbol type, SymbolExtent, to represent the extents of memory... · 674bd55f
      Jordy Rose authored
      Add a new symbol type, SymbolExtent, to represent the extents of memory regions that may not be known at compile-time (such as those created by malloc). This replaces the old setExtent/getExtent API on Store, which used the GRState's GDM to store SVals.
      
      Also adds a getKnownValue() method to SValuator, which gets the integer value of an SVal if it is known to only have one possible value. There are more places in the code that could be using this, but in general we want to be dealing entirely in SVals, so its usefulness is limited.
      
      The only visible functionality change is that extents are now honored for any DeclRegion, such as fields and Objective-C ivars, rather than just variables. This shows up in bounds-checking and cast-size-checking.
      
      llvm-svn: 107577
      674bd55f
  14. Jun 20, 2010
  15. May 25, 2010
Loading