Skip to content
  1. Feb 11, 2012
  2. Feb 10, 2012
  3. Feb 09, 2012
  4. Feb 08, 2012
  5. Feb 05, 2012
  6. Feb 04, 2012
  7. Jan 26, 2012
  8. Jan 17, 2012
  9. 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
  10. Jan 05, 2012
    • Anna Zaks's avatar
      [analyzer] Be less pessimistic about invalidation of global variables · 8158ef0d
      Anna Zaks authored
      as a result of a call.
      
      Problem:
      Global variables, which come in from system libraries should not be
      invalidated by all calls. Also, non-system globals should not be
      invalidated by system calls.
      
      Solution:
      The following solution to invalidation of globals seems flexible enough
      for taint (does not invalidate stdin) and should not lead to too
      many false positives. We split globals into 3 classes:
      
      * immutable - values are preserved by calls (unless the specific
      global is passed in as a parameter):
           A :  Most system globals and const scalars
      
      * invalidated by functions defined in system headers:
           B: errno
      
      * invalidated by all other functions (note, these functions may in
      turn contain system calls):
           B: errno
           C: all other globals (which are not in A nor B)
      
      llvm-svn: 147569
      8158ef0d
    • Ted Kremenek's avatar
      Fix 80 col violations. · 778d2bb8
      Ted Kremenek authored
      llvm-svn: 147566
      778d2bb8
  11. Dec 01, 2011
  12. Oct 26, 2011
  13. Oct 25, 2011
    • Anna Zaks's avatar
      [analyzer] Simplify CheckerContext · b473816b
      Anna Zaks authored
      Remove dead members/parameters: ProgramState, respondsToCallback, autoTransition.
      Remove addTransition method since it's the same as generateNode. Maybe we should
      rename generateNode to genTransition (since a transition is always automatically
      generated)?
      
      llvm-svn: 142946
      b473816b
    • Anna Zaks's avatar
      [analyze] Convert EndOfPath callback to use CheckerContext · 3eae3341
      Anna Zaks authored
      Get rid of the EndOfPathBuilder completely.
      Use the generic NodeBuilder to generate nodes.
      Enqueue the end of path frontier explicitly.
      
      llvm-svn: 142943
      3eae3341
  14. Oct 14, 2011
  15. Oct 06, 2011
  16. Oct 04, 2011
  17. Sep 01, 2011
  18. 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
  19. Aug 16, 2011
  20. Aug 13, 2011
  21. Jul 29, 2011
  22. Jul 23, 2011
  23. Apr 27, 2011
  24. Apr 02, 2011
  25. Mar 01, 2011
  26. Feb 28, 2011
  27. Feb 23, 2011
    • Argyrios Kyrtzidis's avatar
      [analyzer] Refactor EndOfFunctionNodeBuilder. · f1b5d1f0
      Argyrios Kyrtzidis authored
      -Introduce EndOfFunctionNodeBuilder::withCheckerTag to allow it be "specialized" with a
       checker tag and not require the checkers to pass a tag.
      -For EndOfFunctionNodeBuilder::generateNode, reverse the order of tag/P parameters since
       there are actual calls that assume the second parameter is ExplodedNode.
      
      llvm-svn: 126332
      f1b5d1f0
  28. Feb 17, 2011
  29. Feb 10, 2011
  30. Feb 08, 2011
Loading