mirror of
https://github.com/github/codeql.git
synced 2026-03-04 22:56:47 +01:00
8 lines
335 B
Plaintext
8 lines
335 B
Plaintext
import python
|
|
|
|
from ControlFlowNode f, Object o, ControlFlowNode x
|
|
|
|
where f.refersTo(o, x) and exists(CallNode call | call.getFunction().getNode().(Name).getId() = "use" and call.getArg(0) = f)
|
|
|
|
select f.getLocation().getFile().getShortName(), f.getLocation().getStartLine(), f.toString(), o.toString(), x.getLocation().getStartLine()
|