Skip to content
  1. Apr 03, 2011
    • Lenny Maiorani's avatar
      Refactoring the security checker a little bit so that each CallExpr check... · fca2e961
      Lenny Maiorani authored
      Refactoring the security checker a little bit so that each CallExpr check doesn't get called for each CallExpr. Instead it does a switch and only runs the check for the proper identifier. Slight speed improvement (probably significant on very large ASTs), and should make it easier and more clear to add more checks for other CallExpr's later.
      
      llvm-svn: 128785
      fca2e961
  2. Apr 01, 2011
  3. Mar 31, 2011
  4. Mar 01, 2011
  5. Feb 17, 2011
  6. Feb 10, 2011
  7. Jan 17, 2011
  8. Dec 23, 2010
  9. Dec 22, 2010
  10. Dec 14, 2010
  11. Dec 04, 2010
    • John McCall's avatar
      Although we currently have explicit lvalue-to-rvalue conversions, they're · 34376a68
      John McCall authored
      not actually frequently used, because ImpCastExprToType only creates a node
      if the types differ.  So explicitly create an ICE in the lvalue-to-rvalue
      conversion code in DefaultFunctionArrayLvalueConversion() as well as several
      other new places, and consistently deal with the consequences throughout the
      compiler.
      
      In addition, introduce a new cast kind for loading an ObjCProperty l-value,
      and make sure we emit those nodes whenever an ObjCProperty l-value appears
      that's not on the LHS of an assignment operator.
      
      This breaks a couple of rewriter tests, which I've x-failed until future
      development occurs on the rewriter.
      
      Ted Kremenek kindly contributed the analyzer workarounds in this patch.
      
      llvm-svn: 120890
      34376a68
  12. Aug 25, 2010
  13. Aug 22, 2010
  14. Aug 18, 2010
  15. Jun 23, 2010
  16. Apr 17, 2010
  17. Mar 24, 2010
  18. Jan 26, 2010
  19. Jan 25, 2010
    • Ted Kremenek's avatar
    • Ted Kremenek's avatar
      Split libAnalysis into two libraries: libAnalysis and libChecker. · d6b87086
      Ted Kremenek authored
      (1) libAnalysis is a generic analysis library that can be used by
          Sema.  It defines the CFG, basic dataflow analysis primitives, and
          inexpensive flow-sensitive analyses (e.g. LiveVariables).
      
      (2) libChecker contains the guts of the static analyzer, incuding the
          path-sensitive analysis engine and domain-specific checks.
      
      Now any clients that want to use the frontend to build their own tools
      don't need to link in the entire static analyzer.
      
      This change exposes various obvious cleanups that can be made to the
      layout of files and headers in libChecker.  More changes pending.  :)
      
      This change also exposed a layering violation between AnalysisContext
      and MemRegion.  BlockInvocationContext shouldn't explicitly know about
      BlockDataRegions.  For now I've removed the BlockDataRegion* from
      BlockInvocationContext (removing context-sensitivity; although this
      wasn't used yet).  We need to have a better way to extend
      BlockInvocationContext (and any LocationContext) to add
      context-sensitivty.
      
      llvm-svn: 94406
      d6b87086
  20. Jan 15, 2010
  21. Dec 03, 2009
  22. Nov 29, 2009
  23. Nov 28, 2009
  24. Nov 09, 2009
  25. Sep 09, 2009
  26. Sep 02, 2009
  27. Aug 28, 2009
  28. Aug 22, 2009
  29. Jul 24, 2009
  30. Jul 23, 2009
Loading