Author: zhongxingxu
Date: Sat Oct 25 09:56:36 2008
New Revision: 58140

URL: http://llvm.org/viewvc/llvm-project?rev=58140&view=rev
Log:
Add a note file for SCA module. Is it the right place?

Added:
    cfe/trunk/lib/Analysis/NOTES.TXT

Added: cfe/trunk/lib/Analysis/NOTES.TXT
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/NOTES.TXT?rev=58140&view=auto

==============================================================================
--- cfe/trunk/lib/Analysis/NOTES.TXT (added)
+++ cfe/trunk/lib/Analysis/NOTES.TXT Sat Oct 25 09:56:36 2008
@@ -0,0 +1,14 @@
+//===----------------------------------------------------------------------===//
+// Random notes for the static analysis module.
+//===----------------------------------------------------------------------===//
+
+Currently the analyzer with basic store will report false alarm for such code:
+
+p[0] = "/bin/sh";
+p[1] = NULL;
+
+execv(p[0], argv);
+
+This is because BasicStore "collapses" all elements of an array into their base
+region. BasicStore should return UnknownVal() when getLValueElement. But that
+way will break current test in null-deref-ps.c.
\ No newline at end of file


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to