mirror of
https://github.com/github/codeql.git
synced 2026-03-04 14:46:48 +01:00
9 lines
312 B
Plaintext
9 lines
312 B
Plaintext
|
|
import python
|
|
|
|
from int line, ControlFlowNode f, Object o, ControlFlowNode orig
|
|
where
|
|
not f.getLocation().getFile().inStdlib() and
|
|
f.refersTo(o, orig) and line = f.getLocation().getStartLine() and line != 0
|
|
select f.getLocation().getFile().getShortName(), line, f.toString(), o.toString(), orig.toString()
|