Skip to content
NOTES.TXT 867 B
Newer Older
//===----------------------------------------------------------------------===//
// 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
Zhongxing Xu's avatar
Zhongxing Xu committed
way will break current test in null-deref-ps.c.

//===----------------------------------------------------------------------===//

Investigate what classes of exprs are passed silently in GRExprEngine::Visit().

Zhongxing Xu's avatar
Zhongxing Xu committed
One is PredefinedExpr.
Zhongxing Xu's avatar
Zhongxing Xu committed

//===----------------------------------------------------------------------===//

Remove PersistentSValPairs and PersistentSVals?