Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e257ba4 commit 8b5d6aeCopy full SHA for 8b5d6ae
1 file changed
python/ql/test/library-tests/web/zope/Test.ql
@@ -1,10 +1,10 @@
1
import python
2
import semmle.python.TestUtils
3
4
-from ControlFlowNode f, Object o, ControlFlowNode x
+from ControlFlowNode f, Value v, ControlFlowNode x
5
where
6
exists(ExprStmt s | s.getValue().getAFlowNode() = f) and
7
- f.refersTo(o, x) and
+ f.pointsTo(v, x) and
8
f.getLocation().getFile().getBaseName() = "test.py"
9
-select f.getLocation().getStartLine(), f.toString(), o.toString(),
+select f.getLocation().getStartLine(), f.toString(), v.toString(),
10
remove_library_prefix(x.getLocation())
0 commit comments