mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
9 lines
345 B
Plaintext
9 lines
345 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()
|