Skip to content
  1. Feb 13, 2009
  2. Feb 11, 2009
  3. Feb 09, 2009
  4. Feb 08, 2009
  5. Feb 07, 2009
  6. Feb 06, 2009
  7. Feb 05, 2009
    • Ted Kremenek's avatar
      Add 'AppendValue' to the list of magic CF function names that cause a tracked... · 0ca23d3f
      Ted Kremenek authored
      Add 'AppendValue' to the list of magic CF function names that cause a tracked object to escape.  Fixes <rdar://problem/6560661>.
      
      llvm-svn: 63891
      0ca23d3f
    • Ted Kremenek's avatar
      Overhaul BugReporter interface and implementation. The new interface cleans up · fc5d067e
      Ted Kremenek authored
      the ownership of BugTypes and BugReports. Now BugReports are owned by BugTypes,
      and BugTypes are owned by the BugReporter object.
      
      The major functionality change in this patch is that reports are not immediately
      emitted by a call to BugReporter::EmitWarning (now called EmitReport), but
      instead of queued up in report "equivalence classes". When
      BugReporter::FlushReports() is called, it emits one diagnostic per report
      equivalence class. This provides a nice cleanup with the caching of reports as
      well as enables the BugReporter engine to select the "best" path for reporting a
      path-sensitive bug based on all the locations in the ExplodedGraph that the same
      bug could occur.
      
      Along with this patch, Leaks are now coalesced into a common equivalence class
      by their allocation site, and the "summary" diagnostic for leaks now reports the
      allocation site as the location of the bug (this may later be augmented to also
      provide an example location where the leak occurs).
      
      llvm-svn: 63796
      fc5d067e
  8. Jan 30, 2009
    • Ted Kremenek's avatar
      Fix horrible non-termination bug in LiveVariables. The issue was that · 378e7fd3
      Ted Kremenek authored
      the liveness state of block-level expressions could oscillate because
      of two issues:
      - The initial value before a merge was not always set to "Top"
      - The set of live block-level expressions is a union, not an intersection
      
      This fixes <rdar://problem/650084>.
      
      llvm-svn: 63421
      378e7fd3
    • Nuno Lopes's avatar
      fix RUN line · 8247c9a3
      Nuno Lopes authored
      llvm-svn: 63392
      8247c9a3
    • Nuno Lopes's avatar
      enable test as it works · c3a558fd
      Nuno Lopes authored
      llvm-svn: 63391
      c3a558fd
    • Ted Kremenek's avatar
      Fix a couple bugs: · 7594e2a5
      Ted Kremenek authored
      - NonLoc::MakeVal() would use sizeof(unsigned) (literally) instead of consulting
        ASTContext for the size (in bits) of 'int'. While it worked, it was a
        conflation of concepts and using ASTContext.IntTy is 100% correct.
      - RegionStore::getSizeInElements() no longer assumes that a VarRegion has the
        type "ConstantArray", and handles the case when uses use ordinary variables
        as if they were arrays.
      - Fixed ElementRegion::getRValueType() to just return the rvalue type of its
        "array region" in the case the array didn't have ArrayType.
      - All of this fixes <rdar://problem/6541136>
      
      llvm-svn: 63347
      7594e2a5
  9. Jan 29, 2009
  10. Jan 28, 2009
  11. Jan 27, 2009
  12. Jan 24, 2009
  13. Jan 23, 2009
  14. Jan 22, 2009
  15. Jan 21, 2009
Loading