Files
codeql/python/ql/test/library-tests/ControlFlow/ssa/phi-nodes/test.ql
2020-03-30 11:59:10 +02:00

7 lines
227 B
Plaintext

import python
from SsaVariable var, SsaVariable arg
where arg = var.getAPhiInput()
select var.getLocation().getFile().getShortName(), var.toString(), var.getLocation().getStartLine(),
arg, arg.getLocation().getStartLine()