[cfe-commits] r89560 - in /cfe/trunk/lib/Analysis: GRExprEngineExperimentalChecks.cpp GRExprEngineInternalChecks.cpp

Ted Kremenek kremenek at apple.com
Sat Nov 21 09:55:24 PST 2009


Author: kremenek
Date: Sat Nov 21 11:55:24 2009
New Revision: 89560

URL: http://llvm.org/viewvc/llvm-project?rev=89560&view=rev
Log:
Make FixedAddressChecker and experimental check; it currently produces a ton of false positives when analyzing some projects (e.g., Wine).

Modified:
    cfe/trunk/lib/Analysis/GRExprEngineExperimentalChecks.cpp
    cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp

Modified: cfe/trunk/lib/Analysis/GRExprEngineExperimentalChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngineExperimentalChecks.cpp?rev=89560&r1=89559&r2=89560&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngineExperimentalChecks.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngineExperimentalChecks.cpp Sat Nov 21 11:55:24 2009
@@ -31,6 +31,8 @@
   
   // Note that this must be registered after ReturnStackAddresEngsChecker.
   RegisterReturnPointerRangeChecker(Eng);
+  
+  RegisterFixedAddressChecker(Eng);
   RegisterPointerSubChecker(Eng);
   RegisterPointerArithChecker(Eng);
   RegisterCastToStructChecker(Eng);

Modified: cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp?rev=89560&r1=89559&r2=89560&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp Sat Nov 21 11:55:24 2009
@@ -326,6 +326,5 @@
   RegisterDivZeroChecker(*this);
   RegisterReturnStackAddressChecker(*this);
   RegisterReturnUndefChecker(*this);
-  RegisterFixedAddressChecker(*this);
   RegisterUndefinedArraySubscriptChecker(*this);
 }





More information about the cfe-commits mailing list