Files
codeql/python/ql/test/library-tests/PointsTo/functions/test.ql
2025-11-26 12:30:31 +00:00

9 lines
228 B
Plaintext

import python
private import LegacyPointsTo
from Call c, FunctionObject f
where
c.getFunc().(Attribute).getObject().(Name).getId() = "self" and
f.getACall().getNode() = c
select c.getLocation().getStartLine(), f.toString()