Files
codeql/python/ql/test/library-tests/PointsTo/comparisons/PointsTo.ql
2020-03-30 11:59:10 +02:00

10 lines
230 B
Plaintext

import python
import semmle.python.objects.ObjectAPI
from int line, ControlFlowNode f, Value v
where
any(ExprStmt s).getValue() = f.getNode() and
line = f.getLocation().getStartLine() and
f.pointsTo(v)
select line, v