Files
codeql/python/ql/test/library-tests/PointsTo/new/VarUses.ql
2018-11-19 15:15:54 +00:00

10 lines
268 B
Plaintext

import python
import semmle.dataflow.SSA
import semmle.python.pointsto.PointsTo
import Util
from SsaSourceVariable var, ControlFlowNode use
where use = var.getAUse() or var.hasRefinement(use, _)
select locate(use.getLocation(), "abd"), var.getName(), use.toString()