Files
codeql/python/ql/test/library-tests/PointsTo/general/GlobalPointsTo.ql
Taus e09840426c Python: Get rid of points-to from Definitions.qll
Turns out the `ImportTime` module (despite living in
`semmle.python.types` does not actually depend on points-to, so some of
the `LegacyPointsTo` imports could be replaced or removed.
2025-11-26 12:30:31 +00:00

12 lines
310 B
Plaintext

import python
private import LegacyPointsTo
private import semmle.python.types.ImportTime
import interesting
from int line, ControlFlowNodeWithPointsTo f, Object o, ImportTimeScope n
where
of_interest(f, line) and
f.refersTo(o) and
f.getScope() = n
select n.toString(), line, f.toString(), o.toString()