Files
codeql/python/ql/test/library-tests/PointsTo/imports/Runtime.ql
2020-03-30 11:59:10 +02:00

10 lines
322 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()