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

9 lines
243 B
Plaintext

import python
import Util
private import LegacyPointsTo
from ClassMethodObject cm, CallNode call
where call = cm.getACall()
select locate(call.getLocation(), "lp"), cm.getFunction().toString(),
cm.(ControlFlowNode).getLocation().toString()