Files
codeql/python/ql/test/library-tests/PointsTo/new/ClassMethod.ql
Erik Krogh Kristensen ff73dbc35c delete redundant imports
2022-04-22 12:55:28 +02:00

8 lines
213 B
Plaintext

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