Skip to content
  1. Feb 05, 2012
  2. Jan 26, 2012
  3. Jan 06, 2012
    • Ted Kremenek's avatar
      [analyzer] Make the entries in 'Environment' context-sensitive by making entries map from · 632e3b7e
      Ted Kremenek authored
      (Stmt*,LocationContext*) pairs to SVals instead of Stmt* to SVals.
      
      This is needed to support basic IPA via inlining.  Without this, we cannot tell
      if a Stmt* binding is part of the current analysis scope (StackFrameContext) or
      part of a parent context.
      
      This change introduces an uglification of the use of getSVal(), and thus takes
      two steps forward and one step back.  There are also potential performance implications
      of enlarging the Environment.  Both can be addressed going forward by refactoring the
      APIs and optimizing the internal representation of Environment.  This patch
      mainly introduces the functionality upon when we want to build upon (and clean up).
      
      llvm-svn: 147688
      632e3b7e
  4. Oct 26, 2011
  5. Oct 25, 2011
  6. Oct 14, 2011
  7. Sep 23, 2011
  8. Aug 26, 2011
  9. Aug 21, 2011
  10. Aug 18, 2011
    • Anna Zaks's avatar
      Remove EnhancedBugReport and RangedBugReport - pull all the extra... · 3a6bdf8f
      Anna Zaks authored
      Remove EnhancedBugReport and RangedBugReport - pull all the extra functionality they provided into their parent BugReport. The only functional changes are: made getRanges() non const - it adds default range to Ranges if none are supplied, made getStmt() private, which was another FIXME.
      
      llvm-svn: 137894
      3a6bdf8f
  11. Aug 16, 2011
  12. Aug 13, 2011
  13. Jul 25, 2011
  14. Jul 23, 2011
  15. Jun 16, 2011
    • John McCall's avatar
      Automatic Reference Counting. · 31168b07
      John McCall authored
      Language-design credit goes to a lot of people, but I particularly want
      to single out Blaine Garst and Patrick Beard for their contributions.
      
      Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
      in no particular order.
      
      llvm-svn: 133103
      31168b07
  16. Mar 01, 2011
  17. Feb 25, 2011
  18. Feb 23, 2011
  19. Feb 17, 2011
  20. Feb 15, 2011
  21. Feb 10, 2011
  22. Feb 08, 2011
  23. Jan 13, 2011
  24. Jan 11, 2011
  25. Dec 23, 2010
  26. Dec 22, 2010
  27. Dec 20, 2010
  28. Dec 01, 2010
  29. Aug 22, 2010
  30. Jun 17, 2010
    • Ted Kremenek's avatar
      Tweak stack address checker to report multiple cases where globals may reference stack memory. · 5df037e8
      Ted Kremenek authored
      Also refactor the diagnostics so that we print out the kind of stack memory returned.
      
      llvm-svn: 106210
      5df037e8
    • Ted Kremenek's avatar
      Rework StackAddrLeakChecker to find stores of stack memory addresses to global variables · 17504bea
      Ted Kremenek authored
      by inspecting the Store bindings instead of iterating over all the global variables
      in a translation unit.  By looking at the store directly, we avoid cases where we cannot
      directly load from the global variable, such as an array (which can result in an assertion failure)
      and it also catches cases where we store stack addresses to non-scalar globals.
      Also, but not iterating over all the globals in the translation unit, we maintain cache
      locality, and the complexity of the checker becomes restricted to the complexity of the
      analyzed function, and doesn't scale with the size of the translation unit.
      
      This fixes PR 7383.
      
      llvm-svn: 106184
      17504bea
Loading