Files
codeql/python/ql/test/library-tests/ControlFlow/try/test_ssa.ql
2018-11-19 15:15:54 +00:00

8 lines
234 B
Plaintext

import python
from SsaVariable var, ControlFlowNode use
where use = var.getAUse()
select var.getLocation().getFile().getShortName(),
var.toString(), var.getLocation().getStartLine(), use.toString(), use.getLocation().getStartLine()