blob: c20c9f01005c50746b697a38c4a7d290273e620e [file] [log] [blame]
Zhongxing Xua40a3572008-10-25 14:56:36 +00001//===----------------------------------------------------------------------===//
2// Random notes for the static analysis module.
3//===----------------------------------------------------------------------===//
4
5Currently the analyzer with basic store will report false alarm for such code:
6
7p[0] = "/bin/sh";
8p[1] = NULL;
9
10execv(p[0], argv);
11
12This is because BasicStore "collapses" all elements of an array into their base
13region. BasicStore should return UnknownVal() when getLValueElement. But that
Zhongxing Xub6213942008-10-28 09:09:48 +000014way will break current test in null-deref-ps.c.
15
16//===----------------------------------------------------------------------===//
17
18Investigate what classes of exprs are passed silently in GRExprEngine::Visit().
19
Zhongxing Xuafd71052008-10-28 09:32:08 +000020One is PredefinedExpr.