Skip to content
  1. May 04, 2009
  2. May 03, 2009
  3. May 02, 2009
  4. May 01, 2009
    • Ted Kremenek's avatar
      StoreManager::CastRegion: · 9c21f1d1
      Ted Kremenek authored
      - Don't layer TypedViewRegions on top of any region except
        SymbolicRegions and AllocaRegions.  This follows from my offline
        discussion within Zhongxing about how TypedViewRegions really only
        represent memory getting re-appropriated for a new purpose.
      
      Fallout	from this change:
      - Move test case from xfail_rdar_6440393.m to misc-ps-64.m
        (it now passes).
      
      - test/Analysis/fields.c now fails for region store (crash).
        Marking XFAIL.
      
      - test/Analysis/rdar-6441136-region.c now fails (only runs with region store).
        Marking XFAIL.
      
        Diagnosis: The analyzer now correctly identifies an early out-of-bounds memory
         access then the one flagged:
      
        rdar-6541136-region.c:17:3: warning: Load or store into an out-of-bound memory position.
          *p = 1;
          ^~
      
        Changing the line:
         char *p = (void*) &wonky[1];
        to
         char *p = (void*) &wonky[0];
      
        (which should delay the buffer overrun) causes region store to crash, probably
        because it expects a TypedViewRegion.
      
      - test/Analysis/casts.c (region store) now fails (crash).
        Marking XFAIL.
      
      llvm-svn: 70565
      9c21f1d1
    • Ted Kremenek's avatar
    • Ted Kremenek's avatar
      Update CMake file. · 0e3cc24e
      Ted Kremenek authored
      llvm-svn: 70563
      0e3cc24e
    • Ted Kremenek's avatar
      BugReporter (extensive diagnostics): introduce the notion of a "dead" · afbff15e
      Ted Kremenek authored
      location context.  This allows us to postpone the decision of whether
      or not a context should add a control-flow piece to the diagnostics
      when inspecting its subexpressions.
      
      llvm-svn: 70545
      afbff15e
    • Ted Kremenek's avatar
      Remove #if 0'ed code. · 29d0880e
      Ted Kremenek authored
      llvm-svn: 70542
      29d0880e
  5. Apr 30, 2009
  6. Apr 29, 2009
  7. Apr 28, 2009
  8. Apr 27, 2009
Loading