mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
8 lines
307 B
Plaintext
8 lines
307 B
Plaintext
import python
|
|
import semmle.python.pointsto.PointsTo
|
|
import Util
|
|
|
|
from SsaSourceVariable var, ControlFlowNode use, BasicBlock pred
|
|
where var.hasRefinementEdge(use, pred, _) and not var instanceof SpecialSsaSourceVariable
|
|
select locate(pred.getLastNode().getLocation(), "ab"), var.(Variable), use.toString()
|